Skip to content
Commit 4e6cf110 authored by Jiří Paleček's avatar Jiří Paleček Committed by Nicolas Fella
Browse files

Fix start times in the future

 CLOCK_MONOTONIC on linux doesn't increase in the time the machine is
 suspended, however the start times in /proc/xxx/stat do take that
 time in account. This results in start times of processes being
 sometimes reported in the future. Therefore systemUptimeSeconds needs
 to use CLOCK_BOOTTIME.
parent 204fc2d9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment