diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2021-02-03 09:13:59 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2022-01-20 11:56:27 -0500 |
| commit | ab01a00176db60080047731ab548136e773b6c51 (patch) | |
| tree | dbfb8df8a6273dbbf259ec19f89e2484508f1921 /lib/lib_errors.h | |
| parent | b542c4a3c7ad5e1c7e24f9e021926841d2634ac1 (diff) | |
lib: Figure out if we are being starved for cpu
If a thread timer should have popped CPU_CONSUMED_CHECK
seconds in the past, and we are only handling it now. Consider
the thread starved and notice it.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/lib_errors.h')
| -rw-r--r-- | lib/lib_errors.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/lib_errors.h b/lib/lib_errors.h index 9f0f58d20b..64ac6c1ceb 100644 --- a/lib/lib_errors.h +++ b/lib/lib_errors.h @@ -46,6 +46,7 @@ enum lib_log_refs { EC_LIB_LINUX_NS, EC_LIB_SLOW_THREAD_CPU, EC_LIB_SLOW_THREAD_WALL, + EC_LIB_STARVE_THREAD, EC_LIB_NO_THREAD, EC_LIB_RMAP_RECURSION_LIMIT, EC_LIB_BACKUP_CONFIG, |
