18 #ifndef LUNCHBOX_CLOCK_H 19 #define LUNCHBOX_CLOCK_H 22 #include <lunchbox/compiler.h> 40 LUNCHBOX_API Clock(
const Clock& from);
43 LUNCHBOX_API ~Clock();
46 LUNCHBOX_API Clock& operator=(
const Clock& ref);
52 LUNCHBOX_API
void reset();
55 LUNCHBOX_API
void set(
const int64_t time);
61 LUNCHBOX_API
float getTimef()
const;
68 LUNCHBOX_API
float resetTimef();
74 LUNCHBOX_API int64_t getTime64()
const;
80 LUNCHBOX_API
double getTimed()
const;
83 detail::Clock*
const _impl;
86 #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.