cpu-boosting-monitor: Add cpu PSI monitor module 23/297123/5
authorUnsung Lee <unsung.lee@samsung.com>
Wed, 9 Aug 2023 03:23:25 +0000 (12:23 +0900)
committerUnsung Lee <unsung.lee@samsung.com>
Mon, 28 Aug 2023 01:49:13 +0000 (10:49 +0900)
commit9e360ca7a326327180b1f98b08df02e54d7971c6
tree4a9156ea2fbe4b12c57875fd64e7418dc4ea8ddb
parenta00958770bd6bc5a0647e8dda7e7511012d03d39
cpu-boosting-monitor: Add cpu PSI monitor module

Add cpu PSI monitor to detect cpu contention.
cpu PSI monitor code works very similar with lowmem PSI monitor (memory PSI).
However, CPU PSI is only focusing on 'some' events.
This is because, global CPU PSI information (i.e., /proc/pressure/cpu)
always has zero (i.e., meaningless value) for 'full'.

Change-Id: Ie4d06bda0a57d7918abc1dddd23eb09dfffce053
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
src/CMakeLists.txt
src/resource-optimizer/cpu/cpu-boosting-monitor-psi.c [new file with mode: 0644]