translateCpuMetrics(cpu) {
    return {
      usage: Math.round(cpu.percentCPUUsage),
      usageCompare: cpu.percentCPUUsage
      // wakeups: cpu.idleWakeupsPerSecond
    };
  }
/**
   * Creates a data model for the CPU usage.
   *
   * @param {Object} cpu CPU metric
   * @return {Object} Data model for CPU metrics
   */
Creates a data model for the CPU usage.
@param {Object} cpu CPU metric
@return {Object} Data model for CPU metrics
Creates a data model for the CPU usage . @param { Object } cpu CPU metric @return { Object } Data model for CPU metrics
translateCpuMetrics(cpu) {
    return {
      usage: Math.round(cpu.percentCPUUsage),
      usageCompare: cpu.percentCPUUsage
    };
  }
translateCpuMetrics ( cpu ) { return { usage : Math . round ( cpu . percentCPUUsage ) , usageCompare : cpu . percentCPUUsage } ; }
Creates a data model for the CPU usage.
Creates a data model for the CPU usage .
// wakeups: cpu.idleWakeupsPerSecond