mirror of
https://github.com/holub/mame
synced 2025-04-20 15:32:45 +03:00
netlist: nld_log now writes out last value at end of run. (nw)
This commit is contained in:
parent
9dd0b48b3e
commit
0120d1d8ff
@ -28,6 +28,11 @@ namespace netlist
|
||||
m_strm.imbue(std::locale::classic());
|
||||
}
|
||||
|
||||
NETLIB_DESTRUCTOR(log)
|
||||
{
|
||||
m_writer.writeline(plib::pfmt("{1:.9} {2}").e(exec().time().as_fp<nl_fptype>()).e(static_cast<nl_fptype>(m_I())));
|
||||
}
|
||||
|
||||
NETLIB_UPDATEI()
|
||||
{
|
||||
/* use pstring::sprintf, it is a LOT faster */
|
||||
|
Loading…
Reference in New Issue
Block a user