1. 21 6月, 2018 2 次提交
  2. 02 6月, 2018 28 次提交
  3. 18 10月, 2017 1 次提交
  4. 25 6月, 2017 3 次提交
  5. 24 6月, 2017 2 次提交
  6. 13 4月, 2017 4 次提交
    • L
      tools/power turbostat: update version number · 5f9bf02a
      Len Brown 提交于
      Signed-off-by: NLen Brown <len.brown@intel.com>
      5f9bf02a
    • L
      tools/power turbostat: fix impossibly large CPU%c1 value · 95149369
      Len Brown 提交于
      Most CPUs do not have a hardware c1 counter,
      and so turbostat derives c1 residency:
      
      c1 = TSC - MPERF - other_core_cstate_counters
      
      As it is not possible to atomically read these coutners,
      measurement jitter can case this calcuation to "go negative"
      when very close to 0.  Turbostat detect that case and
      simply prints c1 = 0.00%
      
      But that check neglected to account for systems where the TSC
      crystal clock domain and the MPERF BCLK domain are differ by
      a small amount.  That allowed very small negative c1 numbers
      to escape this check and be printed as huge positve numbers.
      
      This code begs for a bit of cleanup, but this patch
      is the minimal change to fix the issue.
      Signed-off-by: NLen Brown <len.brown@intel.com>
      95149369
    • L
      tools/power turbostat: update HWP dump to decimal from hex · 6dbd25a2
      Len Brown 提交于
      Syntax only.
      
      The HWP CAPABILTIES and REQUEST ratios are more easily
      viewed in decimal -- just multiply by 100 and you get MHz...
      
      new:
      cpu0: MSR_HWP_CAPABILITIES: 0x010c1b23 (high 35 guar 27 eff 12 low 1)
      cpu0: MSR_HWP_REQUEST: 0x80002301 (min 1 max 35 des 0 epp 0x80 window 0x0 pkg 0x0)
      
      old:
      cpu0: MSR_HWP_CAPABILITIES: 0x010c1b23 (high 0x23 guar 0x1b eff 0xc low 0x1)
      cpu0: MSR_HWP_REQUEST: 0x80002301 (min 0x1 max 0x23 des 0x0 epp 0x80 window 0x0 pkg 0x0)
      Signed-off-by: NLen Brown <len.brown@intel.com>
      6dbd25a2
    • L
      tools/power turbostat: enable package THERM_INTERRUPT dump · f4896fa5
      Len Brown 提交于
      cpu0: MSR_IA32_TEMPERATURE_TARGET: 0x00641400 (100 C)
      cpu0: MSR_IA32_PACKAGE_THERM_STATUS: 0x884b0800 (25 C)
      cpu0: MSR_IA32_PACKAGE_THERM_INTERRUPT: 0x00000003 (100 C, 100 C)
      
      Enable the same per-core output, but hide it behind --debug
      because it is too verbose on big systems.
      Signed-off-by: NLen Brown <len.brown@intel.com>
      f4896fa5