mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-13 14:51:37 +08:00
system_load:Track Dynamic PID hash
This commit is contained in:
committed by
Daniel Agar
parent
e6d9c2b734
commit
bb913ae11a
@@ -61,7 +61,7 @@ void cpuload_monitor_start()
|
||||
|
||||
system_load.start_time = hrt_absolute_time();
|
||||
|
||||
for (int i = 1; i < CONFIG_MAX_TASKS; i++) {
|
||||
for (int i = 1; i < CONFIG_FS_PROCFS_MAX_TASKS; i++) {
|
||||
system_load.tasks[i].total_runtime = 0;
|
||||
system_load.tasks[i].curr_start_time = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user