Home
last modified time | relevance | path

Searched refs:myshares (Results 1 – 2 of 2) sorted by relevance

/third_party/ltp/testcases/kernel/controllers/cpuctl/
Dcpuctl_test01.c101 unsigned long int myshares = 2, baseshares = 1000; /* Simply the base value to start with */ in main() local
124 myshares *= my_group_num; in main()
126 myshares = baseshares; in main()
139 write_to_file(mysharesfile, "w", myshares); in main()
143 fprintf(stdout, "\ntask-%d SHARES=%lu\n", my_group_num, myshares); in main()
206 exp_cpu_time, myshares, delta_time); in main()
218 myshares = MULTIPLIER * myshares; in main()
222 myshares += in main()
225 myshares -= in main()
228 write_to_file(mysharesfile, "w", myshares); in main()
[all …]
Dcpuctl_def_task01.c101 unsigned long int myshares = 2, baseshares = 1000; in main() local
123 myshares *= my_group_num; in main()
125 myshares = baseshares; in main()
136 write_to_file(mysharesfile, "w", myshares); in main()
137 dbg("Default task's initial shares = %u", myshares); in main()
219 exp_cpu_time, myshares, delta_time); in main()
231 myshares = MULTIPLIER * myshares; in main()
232 write_to_file(mysharesfile, "w", myshares); in main()