18 #include "pandabase.h" 21 #include "mutexImpl.h" 22 #include "config_express.h" 44 double get_long_time();
50 INLINE
double get_short_time();
55 double get_short_raw_time();
57 INLINE
int get_error_count()
const;
59 INLINE
static TrueClock *get_global_ptr();
61 bool set_cpu_affinity(PN_uint32 mask)
const;
72 double correct_time(
double time);
73 void set_time_scale(
double time,
double new_time_scale);
77 double _frequency, _recip_frequency;
87 Timestamp(
double time,
double tod) : _time(time), _tod(tod) { }
92 Timestamps _timestamps;
97 bool _time_scale_changed;
98 double _last_reported_time_scale;
99 double _report_time_scale_time;
105 ChaseClock _chase_clock;
110 #include "trueClock.I" This is our own Panda specialization on the default STL deque.
An interface to whatever real-time clock we might have available in the current environment.
A fake mutex implementation for single-threaded applications that don't need any synchronization cont...