diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-10-07 22:25:47 -0400 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-10-07 22:25:47 -0400 |
commit | 91dca2e13c86f15343d13b83c328fdab3cfa110a (patch) | |
tree | 4ee87d0f2481d025045a8ad00b29183b324db8e5 /include | |
parent | 4f196c1854e8e51d33fc0c68ec7249f54886ae83 (diff) |
Fixed scheduling overhead macros for mixed-criticality.
Diffstat (limited to 'include')
-rw-r--r-- | include/litmus/trace.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/litmus/trace.h b/include/litmus/trace.h index d868144f6928..61332b5f7c50 100644 --- a/include/litmus/trace.h +++ b/include/litmus/trace.h | |||
@@ -10,7 +10,7 @@ | |||
10 | /*********************** TIMESTAMPS ************************/ | 10 | /*********************** TIMESTAMPS ************************/ |
11 | 11 | ||
12 | enum task_type_marker { | 12 | enum task_type_marker { |
13 | TSK_BE, | 13 | TSK_BE = 0, |
14 | TSK_RT, | 14 | TSK_RT, |
15 | TSK_UNKNOWN, | 15 | TSK_UNKNOWN, |
16 | TSK_LVLA, | 16 | TSK_LVLA, |
@@ -23,9 +23,9 @@ struct timestamp { | |||
23 | uint32_t seq_no; | 23 | uint32_t seq_no; |
24 | uint8_t cpu; | 24 | uint8_t cpu; |
25 | uint8_t event; | 25 | uint8_t event; |
26 | uint8_t task_type:2; | 26 | uint8_t task_type:3; |
27 | uint8_t irq_flag:1; | 27 | uint8_t irq_flag:1; |
28 | uint8_t irq_count:5; | 28 | uint8_t irq_count:4; |
29 | }; | 29 | }; |
30 | 30 | ||
31 | /* tracing callbacks */ | 31 | /* tracing callbacks */ |