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

Function ms_since

engine/src/core/dflash2.cpp:28–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27using Clock = std::chrono::steady_clock;
28double ms_since(Clock::time_point t) { return std::chrono::duration<double, std::milli>(Clock::now() - t).count(); }
29
30bool mapped(size_t bytes, void** h, void** d) {
31 if (cudaHostAlloc(h, bytes, cudaHostAllocMapped) != cudaSuccess) return false;

Callers 4

catch_upMethod · 0.70
prepareMethod · 0.70
begin_requestMethod · 0.70
draft_finishMethod · 0.70

Calls 2

nowFunction · 0.50
countMethod · 0.45

Tested by

no test coverage detected