MCPcopy Create free account
hub / github.com/cvanaret/Uno / get_duration

Method get_duration

uno/tools/Timer.cpp:13–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11 }
12
13 double Timer::get_duration() const {
14 return static_cast<double>(std::clock() - this->start_time) / static_cast<double>(CLOCKS_PER_SEC);
15 }
16
17 char* Timer::get_current_date() {
18 const auto current_time = std::chrono::system_clock::now();

Callers 2

uno_solveMethod · 0.80
create_resultMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected