38 double get_long_time();
39 MAKE_PROPERTY(long_time, get_long_time);
44 INLINE
double get_short_time();
45 MAKE_PROPERTY(short_time, get_short_time);
49 double get_short_raw_time();
50 MAKE_PROPERTY(short_raw_time, get_short_raw_time);
52 INLINE
int get_error_count()
const;
53 MAKE_PROPERTY(error_count, get_error_count);
55 INLINE
static TrueClock *get_global_ptr();
57 bool set_cpu_affinity(uint32_t mask)
const;
68 double correct_time(
double time);
69 void set_time_scale(
double time,
double new_time_scale);
73 double _frequency, _recip_frequency;
83 Timestamp(
double time,
double tod) : _time(time), _tod(tod) { }
88 Timestamps _timestamps;
93 bool _time_scale_changed;
94 double _last_reported_time_scale;
95 double _report_time_scale_time;
101 ChaseClock _chase_clock;
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is our own Panda specialization on the default STL deque.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
An interface to whatever real-time clock we might have available in the current environment.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A fake mutex implementation for single-threaded applications that don't need any synchronization cont...