Commit a515eee1 authored by Fabien Grzeskowiak's avatar Fabien Grzeskowiak

fix for linux

parent f5beef8a
/* UMANS: Unified Microscopic Agent Navigation Simulator
** Copyright (C) 2018-2020 Inria Rennes Bretagne Atlantique - Rainbow - Julien Pettr
** Copyright (C) 2018-2020 Inria Rennes Bretagne Atlantique - Rainbow - Julien Pettr
**
** This program is free software: you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
......@@ -26,6 +26,9 @@
#if defined(_WIN32)
#include <direct.h>
#else
#include <sys/stat.h>
#include <math.h> /* fmod */
#endif
namespace HelperFunctions
......
/* UMANS: Unified Microscopic Agent Navigation Simulator
** Copyright (C) 2018-2020 Inria Rennes Bretagne Atlantique - Rainbow - Julien Pettr
** Copyright (C) 2018-2020 Inria Rennes Bretagne Atlantique - Rainbow - Julien Pettr
**
** This program is free software: you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
......@@ -28,8 +28,7 @@
namespace HelperFunctions
{
typedef std::chrono::time_point<std::chrono::steady_clock> Timestamp;
typedef std::chrono::time_point<std::chrono::high_resolution_clock> Timestamp;
Timestamp GetCurrentTime();
double GetIntervalMilliseconds(const Timestamp& startTime, const Timestamp& endTime);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment