MCPcopy Create free account
hub / github.com/VKCOM/kphp / set_external_time

Method set_external_time

third-party/statshouse.h:277–282  ·  view source on GitHub ↗

if you call this function, transport will stop calling std::time() function forever (so will be slightly faster), but you promise to call set_external_time forever every time clock second changes. You can call it as often as you like, for example on each event loop invocation before calling user code, so every event is marked by exact timestamp it happened. If you decide to call set_external_time,

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected