summaryrefslogtreecommitdiff
path: root/include/lib
diff options
context:
space:
mode:
authordp-arm <dimitris.papastamos@arm.com>2016-11-15 13:25:30 +0000
committerdp-arm <dimitris.papastamos@arm.com>2016-12-14 09:53:14 +0000
commit7941816a3428f015a9f4a6c5dc978b4fca568f4b (patch)
tree0d25b1c07ffb685ec4f2de561ccb44e76337b2b4 /include/lib
parent1b5fa6ef1082ffb9979df4aad91525eda571eb50 (diff)
Add two timestamps to measure PSCI cache flush overhead
Testing showed that the time spent in a cluster power down operation is dominated by cache flushes. Add two more timestamps in runtime instrumentation to keep track of the time spent flushing the L1/L2 caches. Change-Id: I4c5a04e7663543225a85d3c6b271d7b706deffc4 Signed-off-by: dp-arm <dimitris.papastamos@arm.com>
Diffstat (limited to 'include/lib')
-rw-r--r--include/lib/runtime_instr.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/lib/runtime_instr.h b/include/lib/runtime_instr.h
index d4090027..4d05ba4b 100644
--- a/include/lib/runtime_instr.h
+++ b/include/lib/runtime_instr.h
@@ -31,11 +31,13 @@
#ifndef __RUNTIME_INSTR_H__
#define __RUNTIME_INSTR_H__
-#define RT_INSTR_TOTAL_IDS 4
#define RT_INSTR_ENTER_PSCI 0
#define RT_INSTR_EXIT_PSCI 1
#define RT_INSTR_ENTER_HW_LOW_PWR 2
#define RT_INSTR_EXIT_HW_LOW_PWR 3
+#define RT_INSTR_ENTER_CFLUSH 4
+#define RT_INSTR_EXIT_CFLUSH 5
+#define RT_INSTR_TOTAL_IDS 6
#ifndef __ASSEMBLY__
PMF_DECLARE_CAPTURE_TIMESTAMP(rt_instr_svc)