Add current memory usage statistic (#6192 partial)

This commit is contained in:
Wilson Snyder
2025-07-24 08:36:58 +02:00
parent 460bfbf181
commit db5b2669fc
7 changed files with 44 additions and 25 deletions
+2 -1
View File
@@ -768,7 +768,8 @@ static void verilate(const string& argString) {
V3Os::filesystemFlushBuildDir(v3Global.opt.makeDir());
if (v3Global.opt.hierTop()) V3Os::filesystemFlushBuildDir(v3Global.opt.hierTopDataDir());
if (v3Global.opt.stats()) V3Stats::statsStage("wrote");
if (v3Global.opt.stats()) V3Stats::statsStageAll(v3Global.rootp(), "WroteAll");
if (v3Global.opt.stats()) V3Stats::statsStageAll(v3Global.rootp(), "WroteFast");
// Final writing shouldn't throw warnings, but...
V3Error::abortIfWarnings();