relative time differences needed - not to prgm start time

This commit is contained in:
dwarning 2024-11-07 17:20:20 +01:00 committed by Holger Vogt
parent 02abb65c59
commit 6381c51ee1
2 changed files with 2 additions and 4 deletions

View File

@ -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);

View File

@ -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