22 #ifndef TETRAEDGE_TE_TE_TIMER_H 23 #define TETRAEDGE_TE_TE_TIMER_H 25 #include "common/array.h" 26 #include "common/types.h" 28 #include "tetraedge/te/te_signal.h" 29 #include "tetraedge/te/te_real_timer.h" 42 uint64 getTimeFromStart();
43 void setAlarmIn(uint64 offset);
45 uint64 timeFromLastTimeElapsed();
47 void setTime(uint64 time);
49 void pausable(
bool ispausable);
53 static void pauseAll();
54 static void resumeAll();
55 static void updateAll();
57 static void cleanup();
59 bool running()
const {
return !_stopped; }
67 uint64 _startTimeOffset;
69 uint64 _lastTimeElapsed;
77 static bool _pausedAll;
78 static uint64 _realTime;
86 #endif // TETRAEDGE_TE_TE_TIMER_H Definition: te_signal.h:40
Definition: detection.h:27
Definition: te_timer.h:33
Definition: te_real_timer.h:28