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

Function now_ms

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

Source from the content-addressed store, hash-verified

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();
780}
781int64_t now_ns() {
782 return std::chrono::duration_cast<std::chrono::nanoseconds>(std::chrono::steady_clock::now().time_since_epoch())
783 .count();

Callers 7

diagMethod · 0.70
ExpertPoolMethod · 0.70
wait_parkedMethod · 0.70
wait_doneMethod · 0.70
drainMethod · 0.70
run_phaseMethod · 0.70
runMethod · 0.70

Calls 2

nowFunction · 0.70
countMethod · 0.45

Tested by

no test coverage detected