mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
netlist: include timestamp in newton-raphson loop warnings.
This commit is contained in:
parent
9842c33b16
commit
a1bb5475cc
@ -133,8 +133,8 @@ namespace netlist
|
||||
PERRMSGV(MF_UNHANDLED_ELEMENT_1_FOUND, 1, "setup_base:unhandled element <{1}> found")
|
||||
PERRMSGV(MF_FOUND_TERM_WITH_MISSING_OTHERNET, 1, "found term with missing othernet {1}")
|
||||
|
||||
PERRMSGV(MW_NEWTON_LOOPS_EXCEEDED_INVOCATION_2, 2, "NEWTON_LOOPS exceeded resolution invoked {1} times on net {2}")
|
||||
PERRMSGV(MW_NEWTON_LOOPS_EXCEEDED_ON_NET_1, 1, "NEWTON_LOOPS exceeded resolution failed on net {1} ... reschedule")
|
||||
PERRMSGV(MW_NEWTON_LOOPS_EXCEEDED_INVOCATION_3, 3, "NEWTON_LOOPS exceeded resolution invoked {1} times on net {2} at {3} us")
|
||||
PERRMSGV(MW_NEWTON_LOOPS_EXCEEDED_ON_NET_2, 2, "NEWTON_LOOPS exceeded resolution failed on net {1} ... reschedule at {2} us")
|
||||
|
||||
// nld_solver.cpp
|
||||
|
||||
|
@ -490,12 +490,12 @@ namespace solver
|
||||
}
|
||||
|
||||
if (m_stat_newton_raphson % 100 == 0)
|
||||
log().warning(MW_NEWTON_LOOPS_EXCEEDED_INVOCATION_2(100, this->name()));
|
||||
log().warning(MW_NEWTON_LOOPS_EXCEEDED_INVOCATION_3(100, this->name(), exec().time().as_double() * 1e6));
|
||||
|
||||
if (resched && !m_Q_sync.net().is_queued())
|
||||
{
|
||||
// reschedule ....
|
||||
log().warning(MW_NEWTON_LOOPS_EXCEEDED_ON_NET_1(this->name()));
|
||||
log().warning(MW_NEWTON_LOOPS_EXCEEDED_ON_NET_2(this->name(), exec().time().as_double() * 1e6));
|
||||
// FIXME: test and enable - this is working better, though not optimal yet
|
||||
#if 0
|
||||
// Don't store, the result can not be used
|
||||
|
Loading…
Reference in New Issue
Block a user