/Engine/Source/Runtime/Core/Public/HAL/ThreadHeartBeat.h
To solve this, we accumulate our own time on the hang detector thread. When the title is suspended, this thread is also suspended, and the local clock stops. The delta is clamped so if we are resumed, the clock continues from where it left off.
class FThreadHeartBeatClock