keUps : undefined;
  }

  function updateThreadWakeUps(existingWakeUps, newWakeUps) {
    for (var reason in newWakeUps) {
      if (!(reason in existingWakeUps)) {
        existingWakeUps[reason] = newWakeUps[reason];
        continue;
      }
      existingWakeUps[reason].frequency += newWakeUps[reason].frequency;
      existingWakeUps[reason].sleepTimes =
          existingWakeUps[reason].sleepTimes.concat(
              newWakeUps[reason].sleepTimes);
    }
  }

  function mapWakeUps(result, model) {
  