2015-12-30 19:20:27 +00:00
|
|
|
#ifndef TIMING_H
|
|
|
|
#define TIMING_H
|
2015-09-13 20:38:44 +00:00
|
|
|
|
|
|
|
#include "system_global.h"
|
|
|
|
|
|
|
|
namespace paysages {
|
|
|
|
namespace system {
|
|
|
|
|
2015-12-30 19:20:27 +00:00
|
|
|
/**
|
|
|
|
* Timing tools.
|
|
|
|
*/
|
|
|
|
class SYSTEMSHARED_EXPORT Timing {
|
2015-11-09 21:30:46 +00:00
|
|
|
public:
|
2015-09-13 20:38:44 +00:00
|
|
|
/**
|
|
|
|
* Get a timestamp in milliseconds.
|
|
|
|
*/
|
|
|
|
static unsigned long getRelativeTimeMs();
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // TIME_H
|