| 47 | #endif |
| 48 | |
| 49 | void TimeEvaluations::howLongItStart() |
| 50 | { |
| 51 | struct timeval tv; |
| 52 | if(gettimeofday(&tv, 0) < 0){ |
| 53 | qWarning() << "howLongItStart(): Error gettimeofday()"; |
| 54 | }else{ |
| 55 | this->timevalue_ms = (tv.tv_sec % 1000) * 1000.0 + tv.tv_usec / 1000.0; |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | double TimeEvaluations::howLongItEnd() |
| 60 | { |
no test coverage detected