mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Add node memory usage info to V3Stats (#4684)
This commit is contained in:
@@ -181,11 +181,8 @@ StatsReport::StatColl StatsReport::s_allStats;
|
||||
// V3Statstic class
|
||||
|
||||
void V3Statistic::dump(std::ofstream& os) const {
|
||||
if (perf()) {
|
||||
os << " " << std::right << std::fixed << std::setprecision(6) << std::setw(9) << count();
|
||||
} else {
|
||||
os << " " << std::right << std::fixed << std::setprecision(0) << std::setw(9) << count();
|
||||
}
|
||||
os << " " << std::right << std::fixed << std::setprecision(precision()) << std::setw(9)
|
||||
<< value();
|
||||
}
|
||||
|
||||
//######################################################################
|
||||
|
||||
Reference in New Issue
Block a user