summaryrefslogtreecommitdiffstats
path: root/c/src/tests/sptests/sp04/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/tests/sptests/sp04/system.h')
-rw-r--r--c/src/tests/sptests/sp04/system.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/c/src/tests/sptests/sp04/system.h b/c/src/tests/sptests/sp04/system.h
index 191de5a2dc..cef8f5546b 100644
--- a/c/src/tests/sptests/sp04/system.h
+++ b/c/src/tests/sptests/sp04/system.h
@@ -66,4 +66,15 @@ TEST_EXTERN rtems_name Extension_name[ 4 ]; /* array of task names */
/* array of task run counts */
TEST_EXTERN volatile rtems_unsigned32 Run_count[ 4 ];
+/*
+ * Keep track of task switches
+ */
+struct taskSwitchLog {
+ int taskIndex;
+ rtems_time_of_day when;
+};
+extern struct taskSwitchLog taskSwitchLog[];
+extern int taskSwitchLogIndex;
+volatile extern int testsFinished;
+
/* end of include file */