MCPcopy Create free account
hub / github.com/facebook/CacheLib / getSysClock

Function getSysClock

cachelib/common/PeriodicWorker.cpp:27–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25namespace {
26
27std::chrono::system_clock::time_point getSysClock(
28 std::chrono::milliseconds timeout) {
29 return std::chrono::system_clock::now() + timeout;
30}
31} // namespace
32
33using namespace facebook::cachelib;

Callers 2

loopMethod · 0.85
stopMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected