Fixed execution time calculation.

This commit is contained in:
Gunnar Beutner 2012-06-27 23:57:46 +02:00
parent 11c81231b8
commit ccc5f0c61d
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ void CompatComponent::DumpServiceStatus(ofstream& fp, Service service)
cr->GetProperty("execution_end", &execution_end); cr->GetProperty("execution_end", &execution_end);
} }
long execution_time = (execution_start - execution_start); long execution_time = (execution_end - execution_start);
long latency = (schedule_end - schedule_start) - execution_time; long latency = (schedule_end - schedule_start) - execution_time;
fp << "servicestatus {" << endl fp << "servicestatus {" << endl