25 static double GetSystemTimeInMilliseconds();
30 void Print(
const std::string &timer_info)
const;
31 double GetDurationInSecond()
const;
32 double GetDurationInMillisecond()
const;
33 std::tuple<int, int, double> GetDurationInHMS()
const;
36 double start_time_in_milliseconds_;
37 double end_time_in_milliseconds_;
42 ScopeTimer(
const std::string &scope_timer_info =
"");
46 std::string scope_timer_info_;
51 FPSTimer(
const std::string &fps_timer_info =
"",
53 double time_to_print = 3000.0,
54 int events_to_print = 100);
62 std::string fps_timer_info_;
64 double time_to_print_;
66 int event_fragment_count_;
67 int event_total_count_;
Generic file read and write utility for python interface.