equal
deleted
inserted
replaced
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 |