3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-06 22:36:05 +00:00

Add timing stats for IdString garbage collection

This commit is contained in:
Robert O'Callahan 2025-10-17 12:15:53 +13:00 committed by Robert O'Callahan
parent cd47727c8b
commit 7371388e1d
5 changed files with 22 additions and 0 deletions

View file

@ -709,6 +709,8 @@ int main(int argc, char **argv)
total_ns += it.second->runtime_ns + 1;
timedat.insert(make_tuple(it.second->runtime_ns + 1, it.second->call_counter, it.first));
}
timedat.insert(make_tuple(RTLIL::OwningIdString::garbage_collection_ns() + 1,
RTLIL::OwningIdString::garbage_collection_count(), "id_gc"));
if (timing_details)
{