summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
author蒙蒙plus <[email protected]>2025-09-11 13:53:00 +0800
committerR b b666 <[email protected]>2025-09-12 09:56:16 +0800
commit138c8887e7e60ec4f4c33c6c77fac371180ab534 (patch)
tree24ea0534add42351746e63cbd25cb9be46ce7429 /include
parent603ccde4454fd4bd5b719282e1fc1fbacb5da56d (diff)
移除已经废弃的CPU使用率相关的字段和初始化代码
Diffstat (limited to 'include')
-rw-r--r--include/rtdef.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/rtdef.h b/include/rtdef.h
index 2cfec3da0a..b47bf23ff9 100644
--- a/include/rtdef.h
+++ b/include/rtdef.h
@@ -895,10 +895,6 @@ struct rt_thread
void *si_list; /**< the signal infor list */
#endif /* RT_USING_SIGNALS */
-#ifdef RT_USING_CPU_USAGE
- rt_uint64_t duration_tick; /**< cpu usage tick */
-#endif /* RT_USING_CPU_USAGE */
-
#ifdef RT_USING_PTHREADS
void *pthread_data; /**< the handle of pthread data, adapt 32/64bit */
#endif /* RT_USING_PTHREADS */