From b2ca89c185a45df5be0fbd3757f1d28f7ac387f5 Mon Sep 17 00:00:00 2001 From: Geza Lore Date: Mon, 20 Dec 2021 14:00:06 +0000 Subject: [PATCH] Add final time and memory stats for "emit" stage --- src/Verilator.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Verilator.cpp b/src/Verilator.cpp index 2d20c24c5..25eb1334e 100644 --- a/src/Verilator.cpp +++ b/src/Verilator.cpp @@ -542,6 +542,8 @@ static void process() { V3EmitC::emitcFiles(); } + if (v3Global.opt.stats()) V3Stats::statsStage("emit"); + // Statistics reportStatsIfEnabled();