You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using git to synchronous benchmark result from virtual box to the host because I want to track the changes I made to configuration files, however I found when run report.pl <result-file>, I got different result in vm and host. I don't know perl, but I believe the script is using the create time of the result file as the start time of the bechmark, which is only true when you don't copy the result file.
printf"\n********************************************************************************************************\n";
printf"# File : %-20s : %20s\n", $file,ctime((stat($file))[9]);
print"# THESE ARE PARTIAL STATISTICS\n"if( $cf->getResultField("OSSim","reportName") =~ /signal/i );
A possible solution is to use the beginTime and EndTime in the result file, i.e.
#END Configuration used. Extracted from "esesc.conf":
OSSim:reportName=done
OSSim:beginTime=Tue Jan 24 20:12:21 2017
OSSim:endTime=Tue Jan 24 20:19:58 2017
The text was updated successfully, but these errors were encountered:
at15
changed the title
report.pl does not use correct time if result file is copied
report.pl does not report correct time if result file is copied
Jan 25, 2017
I am using git to synchronous benchmark result from virtual box to the host because I want to track the changes I made to configuration files, however I found when run
report.pl <result-file>
, I got different result in vm and host. I don't know perl, but I believe the script is using thecreate time
of the result file as the start time of the bechmark, which is only true when you don't copy the result file.The code that print the date is here
A possible solution is to use the
beginTime
andEndTime
in the result file, i.e.The text was updated successfully, but these errors were encountered: