ProcessList: save scan time in millisecond

The delay is saved in deciseconds, use a bigger resolution to avoid
timing irregularities.
This commit is contained in:
Christian Göttsche
2020-12-13 13:18:38 +01:00
committed by BenBE
parent 26993d2d2b
commit 27b8d81ed2
2 changed files with 5 additions and 3 deletions

View File

@ -454,7 +454,7 @@ void Process_toggleTag(Process* this) {
bool Process_isNew(const Process* this) {
assert(this->processList);
if (this->processList->scanTs >= this->seenTs) {
return this->processList->scanTs - this->seenTs <= this->processList->settings->highlightDelaySecs;
return this->processList->scanTs - this->seenTs <= 1000 * this->processList->settings->highlightDelaySecs;
}
return false;
}