MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / now

Function now

src/main.cpp:261–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259}
260
261double now()
262{
263 using namespace std::chrono;
264 auto now = high_resolution_clock::now();
265 return duration_cast<duration<double>>(now.time_since_epoch()).count();
266}
267
268int main(int argc, char *argv[])
269{

Callers 1

Calls 1

countMethod · 0.45

Tested by

no test coverage detected