Trying to measure scheduling latency of realtime process