summaryrefslogtreecommitdiffstats
path: root/Process.c
diff options
context:
space:
mode:
authorarza <arza@arza.us>2023-07-22 20:04:55 +0300
committerBenBE <BenBE@geshi.org>2023-07-31 09:50:04 +0200
commit2d4e5cba225439217464938bf7eaed277427e12d (patch)
tree8d08818ce250cc0fbb85329de292bad9d4b8ea22 /Process.c
parent78c7b1c86bee3c188b3fe7acbbde548b34c9340a (diff)
Reuse old time() value
Diffstat (limited to 'Process.c')
-rw-r--r--Process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Process.c b/Process.c
index 3c60c8b8..8f8eea8b 100644
--- a/Process.c
+++ b/Process.c
@@ -274,7 +274,7 @@ void Process_printTime(RichString* str, unsigned long long totalHundredths, bool
void Process_fillStarttimeBuffer(Process* this) {
struct tm date;
- time_t now = time(NULL);
+ time_t now = this->host->realtime.tv_sec;
(void) localtime_r(&this->starttime_ctime, &date);
strftime(this->starttime_show,

© 2014-2024 Faster IT GmbH | imprint | privacy policy