relative time differences needed - not to prgm start time
This commit is contained in:
parent
5b6de8441c
commit
b41cf53ea5
|
|
@ -1971,8 +1971,7 @@ void SetAnalyse(
|
|||
|
||||
/* get current time */
|
||||
perf_timer_get_time(&timenow);
|
||||
diffsec = timenow.seconds;
|
||||
diffmillisec = timenow.milliseconds;
|
||||
timediff(&timenow, &timebefore, &diffsec, &diffmillisec);
|
||||
|
||||
s = TMALLOC(char, 128);
|
||||
|
||||
|
|
|
|||
|
|
@ -233,8 +233,7 @@ SetAnalyse(char *Analyse, /* in: analysis type */
|
|||
|
||||
/* get actual time */
|
||||
perf_timer_get_time(&timenow);
|
||||
diffsec = timenow.seconds;
|
||||
diffmillisec = timenow.milliseconds;
|
||||
timediff(&timenow, &timebefore, &diffsec, &diffmillisec);
|
||||
|
||||
OldPercent = DecaPercent;
|
||||
/* output only into hwAnalyse window and if time elapsed is larger than
|
||||
|
|
|
|||
Loading…
Reference in New Issue