aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/threads.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/threads.h b/src/include/threads.h
index e7c56d3c7..8e3f7a782 100644
--- a/src/include/threads.h
+++ b/src/include/threads.h
@@ -51,7 +51,7 @@ struct Thread {
cnt_t p_locks; /**< Number of nested locks.*/
#endif
#if CH_DBG_THREADS_PROFILING
- systime_t p_time; /**< Consumed time.
+ volatile systime_t p_time; /**< Consumed time.
@note This field can overflow.*/
#endif
/*