diff options
author | arza <arza@arza.us> | 2023-07-22 20:04:55 +0300 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2023-07-31 09:50:04 +0200 |
commit | 2d4e5cba225439217464938bf7eaed277427e12d (patch) | |
tree | 8d08818ce250cc0fbb85329de292bad9d4b8ea22 /Process.c | |
parent | 78c7b1c86bee3c188b3fe7acbbde548b34c9340a (diff) |
Reuse old time() value
Diffstat (limited to 'Process.c')
-rw-r--r-- | Process.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |