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