diff --git a/util/threading_context.cc b/util/threading_context.cc index 8ffd4db..e2c4d03 100644 --- a/util/threading_context.cc +++ b/util/threading_context.cc @@ -20,6 +20,7 @@ #include +#include "util/zones.h" #include "hwy/aligned_allocator.h" #include "hwy/contrib/thread_pool/thread_pool.h" #include "hwy/profiler.h" @@ -100,6 +101,7 @@ ThreadingContext::ThreadingContext(const ThreadingArgs& args) cache_info(topology), allocator(topology, cache_info, args.bind != Tristate::kFalse), pools(topology, allocator, args.max_threads, args.pin) { + InitProfilerZones(profiler); PROFILER_ZONE("Startup.ThreadingContext autotune"); TunePools(hwy::PoolWaitMode::kSpin, pools); // kBlock is the default, hence set/tune it last.