diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-10-13 14:03:18 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-10-13 14:03:18 +0000 |
commit | 1ec4c6230826ab639607e3fbd1dd9464fcb22dbe (patch) | |
tree | 5cc97d9ef57d2cb13d247c3edaf0d65bf9c07386 /os/rt | |
parent | fe6b91461706cfed79df61af53502f37cd1c5c09 (diff) | |
download | ChibiOS-1ec4c6230826ab639607e3fbd1dd9464fcb22dbe.tar.gz ChibiOS-1ec4c6230826ab639607e3fbd1dd9464fcb22dbe.tar.bz2 ChibiOS-1ec4c6230826ab639607e3fbd1dd9464fcb22dbe.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7392 35acf78f-673a-0410-8e92-d51de3d6d3f4
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.
* .
|