4#include "downward/utils/system.h"
13 explicit Duration(
double seconds)
17 operator double()
const {
return seconds; }
20std::ostream& operator<<(std::ostream& os,
const Duration& time);
23 double last_start_clock;
24 double collected_time;
26#if OPERATING_SYSTEM == WINDOWS
27 LARGE_INTEGER frequency;
28 LARGE_INTEGER start_ticks;
31 double current_clock()
const;
34 explicit Timer(
bool start =
true);
36 Duration operator()()
const;
42std::ostream& operator<<(std::ostream& os,
const Timer& timer);
44extern Timer g_search_timer;