3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-24 22:51:34 +00:00

rtlil: make tracing optional in IdString garbage collection

This commit is contained in:
Emil J. Tywoniak 2025-11-12 20:22:30 +01:00
parent 1ee4fc9d27
commit 8c76f93fce
2 changed files with 6 additions and 5 deletions

View file

@ -574,7 +574,7 @@ struct RTLIL::OwningIdString : public RTLIL::IdString {
}
// Collect all non-owning references.
static void collect_garbage();
static void collect_garbage(bool trace = true);
static int64_t garbage_collection_ns() { return gc_ns; }
static int garbage_collection_count() { return gc_count; }