diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-06-12 20:55:21 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-06-12 20:55:21 +0000 |
commit | 9b413eaef683ad383f9fbae5ea6b1f55b8acbe35 (patch) | |
tree | e4c4277b52edf92025de2ba05f60a720868e59e9 /c/src/tests/sptests/sp04/system.h | |
parent | Fixed comment block at the beginning of the file for a copyright date (diff) | |
download | rtems-9b413eaef683ad383f9fbae5ea6b1f55b8acbe35.tar.bz2 |
Patch from Eric Norum to avoid printing from context switch user extension.
The array is too long and needs to be shortened.
Diffstat (limited to '')
-rw-r--r-- | c/src/tests/sptests/sp04/system.h | 11 |
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 */ |