Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
.gitignore | D | 03-May-2024 | 42 | 3 | 2 | |
Makefile | D | 03-May-2024 | 1.1 KiB | 33 | 6 | |
README | D | 03-May-2024 | 908 | 42 | 27 | |
cpuctl_fj_cpu-hog.c | D | 03-May-2024 | 2.5 KiB | 70 | 35 | |
cpuctl_fj_simple_echo.c | D | 03-May-2024 | 2.6 KiB | 68 | 28 | |
run_cpuctl_test_fj.sh | D | 03-May-2024 | 12.3 KiB | 715 | 530 |
README
1 2TEST SUITE: 3 4The directory cpuctl_fj contains the tests related to the cpu controller. 5 6Cpu controller is a mechanism for assigning cpu resource (in percent) to 7a set of tasks. 8 9There are total 22 testcases that have been added. These testcases 10contain the basis operation test and part functionality test of cpu 11controller. 12 13NOTE: the test can be run by root only. 14 15TESTS AIM: 16 17The aim of the tests is to test the functionality of cpu controller. 18 19FILES DESCRIPTION: 20 21run_cpuctl_test_fj.sh 22-------------------- 23This script runs all the 22 testcases. 24 25cpuctl_fj_cpu-hog.c 26-------------------- 27The program does a calculation of sqrt till catched a signal. 28 29cpuctl_fj_simple_echo.c 30-------------------- 31The command "echo" can't return the errno. So we write this program to 32instead of "echo". 33 34Makefile 35-------------------- 36The usual makefile for this directory 37 38README 39------ 40The one you have gone through. 41 42