Browse Source

relative time differences needed - not to prgm start time

pre-master-46
dwarning 1 year ago
committed by Holger Vogt
parent
commit
6381c51ee1
  1. 3
      src/sharedspice.c
  2. 3
      src/winmain.c

3
src/sharedspice.c

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

3
src/winmain.c

@ -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…
Cancel
Save