File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed
Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -895,10 +895,6 @@ struct rt_thread
895895 void * si_list ; /**< the signal infor list */
896896#endif /* RT_USING_SIGNALS */
897897
898- #ifdef RT_USING_CPU_USAGE
899- rt_uint64_t duration_tick ; /**< cpu usage tick */
900- #endif /* RT_USING_CPU_USAGE */
901-
902898#ifdef RT_USING_PTHREADS
903899 void * pthread_data ; /**< the handle of pthread data, adapt 32/64bit */
904900#endif /* RT_USING_PTHREADS */
Original file line number Diff line number Diff line change @@ -277,10 +277,6 @@ static rt_err_t _thread_init(struct rt_thread *thread,
277277 thread -> system_time = 0 ;
278278#endif
279279
280- #ifdef RT_USING_CPU_USAGE
281- thread -> duration_tick = 0 ;
282- #endif /* RT_USING_CPU_USAGE */
283-
284280#ifdef RT_USING_PTHREADS
285281 thread -> pthread_data = RT_NULL ;
286282#endif /* RT_USING_PTHREADS */
You can’t perform that action at this time.
0 commit comments