src/work/marci/time_measure.h
changeset 310 76c005b15354
parent 128 f3511cffee11
child 323 58bc28afea63
equal deleted inserted replaced
5:00529327b37b 6:630b23595653
     1 // -*- c++ -*-
     1 // -*- c++ -*-
     2 #ifndef TIME_MEASURE_H
     2 #ifndef HUGO_TIME_MEASURE_H
     3 #define TIME_MEASURE_H
     3 #define HUGO_TIME_MEASURE_H
     4 
     4 
     5 #include <sys/time.h>
     5 #include <sys/time.h>
     6 #include <sys/times.h>
     6 #include <sys/times.h>
     7 #include <fstream>
     7 #include <fstream>
     8 #include <iostream>
     8 #include <iostream>
   125     "s, cs: " << double(t.getTms().tms_cstime)/cls <<
   125     "s, cs: " << double(t.getTms().tms_cstime)/cls <<
   126     "s, real: " << t.getRealTime() << "s";
   126     "s, real: " << t.getRealTime() << "s";
   127   return os;
   127   return os;
   128 }
   128 }
   129 
   129 
   130 #endif //TIME_MEASURE_H
   130 #endif //HUGO_TIME_MEASURE_H