Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OCSR
UMANS
Commits
714c7f03
Commit
714c7f03
authored
Apr 10, 2020
by
VAN TOLL Wouter
Browse files
Merge branch 'GUI' of
https://gitlab.inria.fr/wvantoll/UMANS-Fork
into GUI
parents
7763be11
a515eee1
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/Engine/tools/HelperFunctions.cpp
View file @
714c7f03
/* 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
...
...
src/Engine/tools/HelperFunctions.h
View file @
714c7f03
/* 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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment