system_load:Track Dynamic PID hash

This commit is contained in:
David Sidrane
2021-08-13 14:22:00 -04:00
committed by Daniel Agar
parent e6d9c2b734
commit bb913ae11a
53 changed files with 58 additions and 58 deletions
+1 -1
View File
@@ -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;
}