]> AND Private Git Repository - loba.git/blobdiff - main.cpp
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
Convert clock_type to enum class.
[loba.git] / main.cpp
index af47c6498a9be603b0e8e292c2cc4cfcf5520321..64fa49f2d0ce547465acbe0916882766dad888f4 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -201,8 +201,8 @@ int main(int argc, char* argv[])
 {
     int exit_status = 0;   // global exit status
     double simulated_time = -1.0;
 {
     int exit_status = 0;   // global exit status
     double simulated_time = -1.0;
-    timestamp elapsed_time(timestamp::wallclock_time);
-    timestamp simulation_time(timestamp::cpu_time);
+    timestamp elapsed_time(timestamp::clock_type::WALLCLOCK);
+    timestamp simulation_time(timestamp::clock_type::CPU);
     msg_error_t res;
 
     elapsed_time.start();
     msg_error_t res;
 
     elapsed_time.start();