• Home
Name Date Size #Lines LOC

..--

.gitignoreD03-May-202442 32

MakefileD03-May-20241.1 KiB336

READMED03-May-2024908 4227

cpuctl_fj_cpu-hog.cD03-May-20242.5 KiB7035

cpuctl_fj_simple_echo.cD03-May-20242.6 KiB6828

run_cpuctl_test_fj.shD03-May-202412.3 KiB715530

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