nt this with CPU power management states.
  var IDLE_THRESHOLD_MILLISECONDS = 1;

  function sanitizeReason(reason) {
    // Remove any path name components (e.g., '/foo/bar/baz' or 'c:\foo\bar\baz'
    // are both reduced to 'baz').
    return reason.replace(/^.*[\/\\]/, '');
  }

  function findWakeUpReason(event) {
    var tqmRunTask = event.findDescendentSlice('TaskQueueManager::RunTask');
    if (tqmRunTask && tqmRunTask.subSlices.length > 0)
      return tqmRunTask.subSlices[0].title;
    var processT