system_load:Track Dynamic PID hash

This commit is contained in:
David Sidrane
2021-07-12 11:19:39 -07:00
committed by Daniel Agar
parent e6d9c2b734
commit bb913ae11a
53 changed files with 58 additions and 58 deletions
@@ -45,8 +45,8 @@
#include <stdint.h>
#ifndef CONFIG_MAX_TASKS
#define CONFIG_MAX_TASKS 64
#ifndef CONFIG_FS_PROCFS_MAX_TASKS
#define CONFIG_FS_PROCFS_MAX_TASKS 64
#endif
struct print_load_s {
@@ -57,7 +57,7 @@ struct print_load_s {
uint64_t new_time{0};
uint64_t interval_start_time{0};
uint64_t last_times[CONFIG_MAX_TASKS] {};
uint64_t last_times[CONFIG_FS_PROCFS_MAX_TASKS] {};
float interval_time_us{0.f};
};