16 double get_elapsed_time()
18 return get_time() - current_time;
23 auto now = std::chrono::system_clock::now();
24 auto now_ms = std::chrono::time_point_cast<std::chrono::milliseconds>(now);
26 auto value = now_ms.time_since_epoch();
27 auto duration = value.count() / 1000.0;
28 return static_cast<double>(duration);
33 current_time = get_time();