Skip to content

ProcessCore: Ignore elapsedTime < 0 when updating process usage

Arjen Hiemstra requested to merge work/ahiemstra/processupdate into master

QElapsedTimer::restart() of a timer that was not yet started will potentially return something < 0. Since time travel is not possible we can treat it as an invalid value and ignore it.

Merge request reports