MCPcopy Create free account
hub / github.com/Niko1221/Strata / diag_active_pool

Function diag_active_pool

engine/src/kernels/cpu/pool.cpp:774–776  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

772namespace {
773std::atomic<const ExpertPool*> g_diag_pool{nullptr};
774void diag_active_pool(std::FILE* f) {
775 if (const ExpertPool* p = g_diag_pool.load()) p->diag(f);
776}
777int64_t now_ms() {
778 return std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::steady_clock::now().time_since_epoch())
779 .count();

Callers

nothing calls this directly

Calls 2

loadMethod · 0.45
diagMethod · 0.45

Tested by

no test coverage detected