mirror of
https://github.com/holub/mame
synced 2025-04-22 08:22:15 +03:00
netlist: only print queue stats if they are enabled.
Fix breakout SLOW_BUT_ACCURATE mode.
This commit is contained in:
parent
7d10350087
commit
37bcde4188
@ -494,12 +494,15 @@ void netlist_t::print_stats() const
|
||||
/* But two are contained in m_stat_mainloop */
|
||||
log().verbose("Total devices {1:15}", total_time);
|
||||
log().verbose("");
|
||||
log().verbose("Take the next lines with a grain of salt. They depend on the measurement implementation.");
|
||||
log().verbose("Total overhead {1:15}", total_overhead);
|
||||
nperftime_t<true>::type overhead_per_pop = (m_stat_mainloop()-2*total_overhead - (total_time - total_overhead))
|
||||
/ static_cast<nperftime_t<true>::type>(m_queue.m_prof_call());
|
||||
log().verbose("Overhead per pop {1:11}", overhead_per_pop );
|
||||
log().verbose("");
|
||||
if (USE_QUEUE_STATS)
|
||||
{
|
||||
log().verbose("Take the next lines with a grain of salt. They depend on the measurement implementation.");
|
||||
log().verbose("Total overhead {1:15}", total_overhead);
|
||||
nperftime_t<true>::type overhead_per_pop = (m_stat_mainloop()-2*total_overhead - (total_time - total_overhead))
|
||||
/ static_cast<nperftime_t<true>::type>(m_queue.m_prof_call());
|
||||
log().verbose("Overhead per pop {1:11}", overhead_per_pop );
|
||||
log().verbose("");
|
||||
}
|
||||
|
||||
auto trigger = total_count * 200 / 1000000; // 200 ppm
|
||||
for (auto &entry : m_state->m_devices)
|
||||
|
@ -1730,6 +1730,11 @@ CIRCUIT_LAYOUT( breakout )
|
||||
M1.8, M2.12, M3.7, M4.7, M5.8, M6.8, M8.7, M9.7,
|
||||
N1.8, N2.12, N3.7, N4.7, N5.8, N6.8, N7.7, N9.8 )
|
||||
|
||||
#if (SLOW_BUT_ACCURATE)
|
||||
NET_C(VCC, F1.16)
|
||||
NET_C(GND, F1.8)
|
||||
#endif
|
||||
|
||||
#if 1
|
||||
// 163% -- manually optimized
|
||||
HINT(B6.C, NO_DEACTIVATE)
|
||||
|
Loading…
Reference in New Issue
Block a user