Reorder include and use correct datatypes

This commit is contained in:
Patrick Niklaus
2014-10-23 01:40:52 +02:00
parent 13ed186469
commit 9805b05738
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -28,15 +28,16 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#ifndef TIMINGUTIL_H
#define TIMINGUTIL_H
#include <chrono>
#include <atomic>
#include <chrono>
#include <cstdint>
#include <mutex>
#include <unordered_map>
struct GlobalTimer
{
GlobalTimer() : time(0) {}
std::atomic<long unsigned> time;
std::atomic<uint64_t> time;
};
class GlobalTimerFactory