diff options
author | Yang Zhang <yang.z.zhang@intel.com> | 2011-10-25 16:46:47 +0100 |
---|---|---|
committer | Yang Zhang <yang.z.zhang@intel.com> | 2011-10-25 16:46:47 +0100 |
commit | 56d1d85a0c580aa20ca7d4b15f19ace899bb5b36 (patch) | |
tree | 998d74328d65747ce4bb4b1c69182b6edc2ffb9d /tools/libxc/xenctrl.h | |
parent | 82017fad0d77cee9d4568146a63d97789fd6907e (diff) | |
download | xen-56d1d85a0c580aa20ca7d4b15f19ace899bb5b36.tar.gz xen-56d1d85a0c580aa20ca7d4b15f19ace899bb5b36.tar.bz2 xen-56d1d85a0c580aa20ca7d4b15f19ace899bb5b36.zip |
x86 pm: provide CC7/PC2 residency
Sandy bridge introduces new MSR to get cc7/pc2 residency (core C-state
7/package C-state 2). Print the cc7/pc2 residency when on sandy bridge
platform.
Signed-off-by: Yang Zhang <yang.z.zhang@intel.com>
Committed-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'tools/libxc/xenctrl.h')
-rw-r--r-- | tools/libxc/xenctrl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/libxc/xenctrl.h b/tools/libxc/xenctrl.h index 3ff943ff32..ad94f46b9d 100644 --- a/tools/libxc/xenctrl.h +++ b/tools/libxc/xenctrl.h @@ -1733,11 +1733,13 @@ struct xc_cx_stat { uint64_t idle_time; /* idle time from boot */ uint64_t *triggers; /* Cx trigger counts */ uint64_t *residencies; /* Cx residencies */ + uint64_t pc2; uint64_t pc3; uint64_t pc6; uint64_t pc7; uint64_t cc3; uint64_t cc6; + uint64_t cc7; }; typedef struct xc_cx_stat xc_cx_stat_t; |