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

Function ms_since

engine/src/split/src/session.cpp:29–31  ·  view source on GitHub ↗

checkpoints kept per conversation

Source from the content-addressed store, hash-verified

27constexpr size_t DROP_PARK_MIN = 2048;
28constexpr size_t MAX_CKPTS = 6; // checkpoints kept per conversation
29double ms_since(std::chrono::steady_clock::time_point t0) {
30 return std::chrono::duration<double, std::milli>(std::chrono::steady_clock::now() - t0).count();
31}
32} // namespace
33
34double Dist::prob(int id) const {

Callers 3

readMethod · 0.70
park_live_Method · 0.70
generateMethod · 0.70

Calls 2

nowFunction · 0.50
countMethod · 0.45

Tested by

no test coverage detected