diff options
Diffstat (limited to 'os/rt')
-rw-r--r-- | os/rt/include/chschd.h | 3 | ||||
-rw-r--r-- | os/rt/src/chdebug.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/os/rt/include/chschd.h b/os/rt/include/chschd.h index 4d04ee56e..b90ed077b 100644 --- a/os/rt/include/chschd.h +++ b/os/rt/include/chschd.h @@ -245,6 +245,9 @@ struct thread { void *p_mpool;
#endif
#if CH_DBG_STATISTICS || defined(__DOXYGEN__)
+ /**
+ * @brief Thread statistics.
+ */
time_measurement_t p_stats;
#endif
#if defined(CH_CFG_THREAD_EXTRA_FIELDS)
diff --git a/os/rt/src/chdebug.c b/os/rt/src/chdebug.c index d1b792921..f9408d515 100644 --- a/os/rt/src/chdebug.c +++ b/os/rt/src/chdebug.c @@ -46,11 +46,11 @@ * - Called from an ISR.
* - Not called from a critical zone.
* .
- * - SV#6, misplaced @p chSysLockFromIsr().
+ * - SV#6, misplaced @p chSysLockFromISR().
* - Not called from an ISR.
* - Called from a critical zone.
* .
- * - SV#7, misplaced @p chSysUnlockFromIsr().
+ * - SV#7, misplaced @p chSysUnlockFromISR().
* - Not called from an ISR.
* - Not called from a critical zone.
* .
|