diff options
author | jkoshy <jkoshy@FreeBSD.org> | 2006-02-25 05:34:00 +0000 |
---|---|---|
committer | jkoshy <jkoshy@FreeBSD.org> | 2006-02-25 05:34:00 +0000 |
commit | 62ed249b1e46a175b01ff3e6289c894b0d1632fb (patch) | |
tree | e8d95597fe3b909e4ecc8adf597b8d7a7305b5d8 /lib/libpmc/libpmc.c | |
parent | c8955355a02aa63f0ebd72c62440a93dec70fb91 (diff) | |
download | FreeBSD-src-62ed249b1e46a175b01ff3e6289c894b0d1632fb.zip FreeBSD-src-62ed249b1e46a175b01ff3e6289c894b0d1632fb.tar.gz |
Add an alias 'unhalted-cycles' denoting cycles where the CPU is
not in a halt or sleep state.
Diffstat (limited to 'lib/libpmc/libpmc.c')
-rw-r--r-- | lib/libpmc/libpmc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libpmc/libpmc.c b/lib/libpmc/libpmc.c index 75a33a9..49e07a9 100644 --- a/lib/libpmc/libpmc.c +++ b/lib/libpmc/libpmc.c @@ -319,6 +319,7 @@ static struct pmc_event_alias k8_aliases[] = { EV_ALIAS("ic-misses", "k8-ic-miss"), EV_ALIAS("instructions", "k8-fr-retired-x86-instructions"), EV_ALIAS("interrupts", "k8-fr-taken-hardware-interrupts"), + EV_ALIAS("unhalted-cycles", "k8-bu-cpu-clk-unhalted"), EV_ALIAS(NULL, NULL) }; @@ -682,6 +683,7 @@ static struct pmc_event_alias p4_aliases[] = { EV_ALIAS("cycles", "tsc"), EV_ALIAS("instructions", "p4-instr-retired,mask=nbogusntag+nbogustag"), + EV_ALIAS("unhalted-cycles", "p4-global-power-events"), EV_ALIAS(NULL, NULL) }; @@ -1316,6 +1318,7 @@ static struct pmc_event_alias p6_aliases[] = { EV_ALIAS("ic-misses", "p6-ifu-ifetch-miss"), EV_ALIAS("instructions", "p6-inst-retired"), EV_ALIAS("interrupts", "p6-hw-int-rx"), + EV_ALIAS("unhalted-cycles", "p6-cpu-clk-unhalted"), EV_ALIAS(NULL, NULL) }; |