29 #ifndef PT_SYSTEM_CLOCK_H
30 #define PT_SYSTEM_CLOCK_H
32 #include <Pt/System/Api.h>
33 #include <Pt/DateTime.h>
34 #include <Pt/Timespan.h>
35 #include <Pt/NonCopyable.h>
84 class ClockImpl *_impl;
91 #endif // PT_SYSTEM_CLOCK_H
Core module.
Definition: Allocator.h:33
static DateTime getLocalTime()
Returns the current local time.
Measures time intervals.
Definition: Clock.h:47
Timespan stop()
Stop the clock.
Clock()
Constructs a Clock.
Represents time spans in microsecond resolution.
Definition: Timespan.h:63
Protects derived classes from being copied.
Definition: NonCopyable.h:54
void start()
Start the clock.
static DateTime getSystemTime()
Returns the system time.
static Timespan getSystemTicks()
Returns the timespan since a fixed point in the past.
Combined Date and Time value.
Definition: DateTime.h:66