19 #ifndef LUNCHBOX_CLOCK_H 20 #define LUNCHBOX_CLOCK_H 23 #include <lunchbox/compiler.h> 28 namespace detail {
class Clock; }
38 LUNCHBOX_API Clock(
const Clock& from );
41 LUNCHBOX_API ~Clock();
44 LUNCHBOX_API Clock & operator= (
const Clock& ref);
50 LUNCHBOX_API
void reset();
53 LUNCHBOX_API
void set(
const int64_t time );
59 LUNCHBOX_API
float getTimef()
const;
66 LUNCHBOX_API
float resetTimef();
72 LUNCHBOX_API int64_t getTime64()
const;
78 LUNCHBOX_API
double getTimed()
const;
81 detail::Clock*
const _impl;
84 #endif // LUNCHBOX_CLOCK_H Defines export visibility macros for library Lunchbox.
Basic type definitions not provided by the operating system.
A class for time measurements.
Abstraction layer and common utilities for multi-threaded programming.