aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/perfc_defn.h
diff options
context:
space:
mode:
authorkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2004-07-17 13:01:38 +0000
committerkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2004-07-17 13:01:38 +0000
commitdfbc3da708ad43096a06634bdef4a1bbf19a5b76 (patch)
tree331bd98272fa42bf3ed64bdca3d22fd4e9b2bc9a /xen/include/xen/perfc_defn.h
parentff5f5b1041d245badfb2c478d1fceafe066a4497 (diff)
downloadxen-dfbc3da708ad43096a06634bdef4a1bbf19a5b76.tar.gz
xen-dfbc3da708ad43096a06634bdef4a1bbf19a5b76.tar.bz2
xen-dfbc3da708ad43096a06634bdef4a1bbf19a5b76.zip
bitkeeper revision 1.1104.1.1 (40f923322G2jO4f0TVh9AXW3jpr9bQ)
Initial Xen support for 4GB segments thru instruction emulation. The instruction decoder needs some refactoring as there is lots of duplicated crufty code in there right now. Also, the TLS libraries hit the emulator a LOT, but mainly with one or two instructions. Probably we need to patch those within Linux.
Diffstat (limited to 'xen/include/xen/perfc_defn.h')
-rw-r--r--xen/include/xen/perfc_defn.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/include/xen/perfc_defn.h b/xen/include/xen/perfc_defn.h
index 40d3b96687..4868d2a87c 100644
--- a/xen/include/xen/perfc_defn.h
+++ b/xen/include/xen/perfc_defn.h
@@ -1,4 +1,6 @@
+PERFCOUNTER_CPU (emulations, "instructions emulated" )
+
PERFCOUNTER_CPU( irqs, "#interrupts" )
PERFCOUNTER_CPU( ipis, "#IPIs" )
PERFCOUNTER_CPU( irq_time, "cycles spent in irq handler" )