From d7ea89b8dcb5e9747c755a8a922e911742d90bd9 Mon Sep 17 00:00:00 2001 From: "Bjoern B. Brandenburg" Date: Wed, 16 May 2007 16:36:52 -0400 Subject: Place trigger for scheduling overhead benchmark. --- include/linux/trace.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'include/linux') diff --git a/include/linux/trace.h b/include/linux/trace.h index 0d05e6eda2..e241ed45be 100644 --- a/include/linux/trace.h +++ b/include/linux/trace.h @@ -30,12 +30,14 @@ asmlinkage void save_timestamp(unsigned long event); * ========================= * * In order to process the trace files with a common tool, we use the following - * convention to measure execution times. The start time of a code segment has - * an even event ID, the corresponding end time has the consecutive odd ID. + * convention to measure execution times: The end time id of a code segment is + * always the next number after the start time event id. */ #define TS_SCHED_START TIMESTAMP(100) -#define TS_SCHED_END TIMESTAMP(101) +#define TS_SCHED_END TIMESTAMP(101) +#define TS_CXS_START TIMESTAMP(102) +#define TS_CXS_END TIMESTAMP(103) #define TS_TICK_START TIMESTAMP(110) #define TS_TICK_END TIMESTAMP(111) -- cgit v1.2.2