mirror of
https://github.com/verilator/verilator.git
synced 2026-10-07 02:23:19 +02:00
Add stats on output size
This commit is contained in:
@@ -67,6 +67,7 @@ AstCFile* EmitCBaseVisitorConst::createCFile(const string& filename, bool slow,
|
||||
AstCFile* const cfilep = new AstCFile{v3Global.rootp()->fileline(), filename};
|
||||
cfilep->slow(slow);
|
||||
cfilep->source(source);
|
||||
if (source) V3Stats::addStatSum(V3Stats::STAT_CPP_FILES, 1);
|
||||
return cfilep;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user