7 #ifndef BALL_SYSTEM_TIMER_H
8 #define BALL_SYSTEM_TIMER_H
14 #ifdef BALL_HAS_SYS_TIME_H
15 # include <sys/time.h>
17 #ifdef BALL_HAS_TIME_H
93 double getClockTime()
const;
98 double getUserTime()
const;
103 double getSystemTime()
const;
109 double getCPUTime()
const;
133 bool isRunning()
const;
193 bool isValid()
const;
197 void dump(::std::ostream& s = ::std::cout,
Size depth = 0L)
const;
207 #ifdef BALL_HAS_WINDOWS_PERFORMANCE_COUNTER
221 clock_t last_user_time_;
224 clock_t last_system_time_;
233 clock_t current_user_time_;
236 clock_t current_system_time_;
239 # ifndef BALL_NO_INLINE_FUNCTIONS
245 #endif // BALL_SYSTEM_TIMER_H
BALL_POINTERSIZEUINT_TYPE PointerSizeUInt
BALL_EXPORT bool operator>(const String &s1, const String &s2)
BALL_EXPORT bool operator!=(const String &s1, const String &s2)
BALL_ULONG64_TYPE LongSize
BALL_EXPORT bool operator>=(const String &s1, const String &s2)
BALL_EXPORT bool operator==(const String &s1, const String &s2)
BALL_EXPORT bool operator<=(const String &s1, const String &s2)
BALL_EXPORT bool operator<(const String &s1, const String &s2)