HF RL Explorer

Repair a verified behavior in RT-Thread/rt-thread.

Repair a verified behavior in RT-Thread/rt-thread.: a task in OriGent-RL-Data (Harbor dataset). When RT USING CPU USAGE TRACER is enabled, rt thread get usage(rt thread t thread) supplies the CPU percentage shown for each thread by the thread-list command. It currently treats the thread's…

The task

When RT_USING_CPU_USAGE_TRACER is enabled, rt_thread_get_usage(rt_thread_t thread) supplies the CPU percentage shown for each thread by the thread-list command. It currently treats the thread's cumulative user_time plus system_time as a fraction of all CPUs' cumulative cpu_stat.user, cpu_stat.system, and…

Part of henryen/OriGent-RL-Data.