1. 25 12月, 2016 2 次提交
    • L
      tools/power turbostat: remove obsolete -M, -m, -C, -c options · 6886fee4
      Len Brown 提交于
      The new --add option has replaced the -M, -m, -C, -c options
      Eg.
      
      -M 0x10 is now --add msr0x10,raw
      -m 0x10 is now --add msr0x10,raw,u32
      -C 0x10 is now --add msr0x10,delta
      -c 0x10 is now --add msr0x10,delta,u32
      
      The --add option can be repeated to add any number of counters,
      while the previous options were limited to adding one of each type.
      
      In addition, the --add option can accept a column label,
      and can also display a counter as a percentage of elapsed cycles.
      
      Eg. --add msr0x3fe,core,percent,MY_CC3
      Signed-off-by: NLen Brown <len.brown@intel.com>
      6886fee4
    • L
      tools/power turbostat: Make extensible via the --add parameter · 388e9c81
      Len Brown 提交于
      Create the "--add" parameter.  This can be used to teach an existing
      turbostat binary about any number of any type of counter.
      
      turbostat(8) details the syntax for --add.
      Signed-off-by: NLen Brown <len.brown@intel.com>
      388e9c81
  2. 14 12月, 2016 1 次提交
  3. 11 12月, 2016 1 次提交
  4. 02 12月, 2016 3 次提交
  5. 01 12月, 2016 12 次提交
  6. 17 11月, 2016 1 次提交
  7. 01 11月, 2016 1 次提交
  8. 21 10月, 2016 2 次提交
  9. 10 9月, 2016 1 次提交
  10. 13 8月, 2016 8 次提交
  11. 07 7月, 2016 1 次提交
  12. 28 6月, 2016 1 次提交
  13. 23 6月, 2016 1 次提交
  14. 05 5月, 2016 3 次提交
  15. 28 4月, 2016 2 次提交
    • T
      cpupower: Add cpuidle parts into library · ac5a181d
      Thomas Renninger 提交于
      This more or less is a renaming and moving of functions and should not
      introduce any functional change.
      
      cpupower was built from cpufrequtils (which had a C library providing easy
      access to cpu frequency platform info). In the meantime it got enhanced
      by quite some neat cpuidle userspace tools.
      
      Now the cpu idle functions have been separated and added to the cpupower.so
      library.
      So beside an already existing public header file:
      cpufreq.h
      cpupower now also exports these cpu idle functions in:
      cpuidle.h
      
      Here again pasted for better review of the interfaces:
      
      ======================================
      int cpuidle_is_state_disabled(unsigned int cpu,
                                             unsigned int idlestate);
      int cpuidle_state_disable(unsigned int cpu, unsigned int idlestate,
                                         unsigned int disable);
      unsigned long cpuidle_state_latency(unsigned int cpu,
                                                      unsigned int idlestate);
      unsigned long cpuidle_state_usage(unsigned int cpu,
                                              unsigned int idlestate);
      unsigned long long cpuidle_state_time(unsigned int cpu,
                                                      unsigned int idlestate);
      char *cpuidle_state_name(unsigned int cpu,
                                      unsigned int idlestate);
      char *cpuidle_state_desc(unsigned int cpu,
                                      unsigned int idlestate);
      unsigned int cpuidle_state_count(unsigned int cpu);
      
      char *cpuidle_get_governor(void);
      char *cpuidle_get_driver(void);
      
      ======================================
      Signed-off-by: NThomas Renninger <trenn@suse.com>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      ac5a181d
    • C
      cpupowerutils: bench: trivial fix of spelling mistake on "average" · fe7656a8
      Colin Ian King 提交于
      fix spelling mistake, avarage -> average
      Signed-off-by: NColin Ian King <colin.king@canonical.com>
      Signed-off-by: NThomas Renninger <trenn@suse.com>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      fe7656a8