/third_party/ltp/testcases/kernel/controllers/cpuctl_fj/ |
D | run_cpuctl_test_fj.sh | 596 cpu_usage=$(get_cpu_usage $pid) 597 echo "pid $pid cpu_usage $cpu_usage" 600 expr 96 \< "$cpu_usage" \& "$cpu_usage" \< 103 > /dev/null 2>&1 || return 1 612 cpu_usage=$(get_cpu_usage $pid) 613 echo "pid $pid cpu_usage $cpu_usage" 616 expr 96 \< "$cpu_usage" \& "$cpu_usage" \< 103 > /dev/null 2>&1 || return 1 639 cpu_usage=$(get_cpu_usage $pid) 640 echo "pid $pid cpu_usage $cpu_usage" 641 expr 44 \< "$cpu_usage" \& "$cpu_usage" \< 56 > /dev/null 2>&1 672 cpu_usage=$(get_cpu_usage $pid) [all …]
|
/third_party/ltp/testcases/kernel/controllers/cpuctl/ |
D | cpuctl_def_task04.c | 99 struct rusage cpu_usage; in main() local 210 getrusage(0, &cpu_usage); in main() 212 total_cpu_time = (cpu_usage.ru_utime.tv_sec + in main() 213 cpu_usage.ru_utime.tv_usec * 1e-6 + in main() 214 cpu_usage.ru_stime.tv_sec + in main() 215 cpu_usage.ru_stime.tv_usec * 1e-6); in main()
|
D | cpuctl_def_task01.c | 99 struct rusage cpu_usage; in main() local 193 getrusage(0, &cpu_usage); in main() 195 total_cpu_time = (cpu_usage.ru_utime.tv_sec + in main() 196 cpu_usage.ru_utime.tv_usec * 1e-6 + in main() 197 cpu_usage.ru_stime.tv_sec + in main() 198 cpu_usage.ru_stime.tv_usec * 1e-6); in main()
|
D | cpuctl_test03.c | 99 struct rusage cpu_usage; in main() local 195 getrusage(0, &cpu_usage); in main() 196 total_cpu_time = (cpu_usage.ru_utime.tv_sec + cpu_usage.ru_utime.tv_usec * 1e-6 + /* user time */ in main() 197 cpu_usage.ru_stime.tv_sec + cpu_usage.ru_stime.tv_usec * 1e-6); /* system time */ in main()
|
D | cpuctl_def_task03.c | 97 struct rusage cpu_usage; in main() local 200 getrusage(0, &cpu_usage); in main() 202 total_cpu_time = (cpu_usage.ru_utime.tv_sec + in main() 203 cpu_usage.ru_utime.tv_usec * 1e-6 + in main() 204 cpu_usage.ru_stime.tv_sec + in main() 205 cpu_usage.ru_stime.tv_usec * 1e-6); in main()
|
D | cpuctl_test04.c | 99 struct rusage cpu_usage; in main() local 206 getrusage(0, &cpu_usage); in main() 207 total_cpu_time = (cpu_usage.ru_utime.tv_sec + cpu_usage.ru_utime.tv_usec * 1e-6 + /* user time */ in main() 208 cpu_usage.ru_stime.tv_sec + cpu_usage.ru_stime.tv_usec * 1e-6); /* system time */ in main()
|
D | cpuctl_test01.c | 99 struct rusage cpu_usage; in main() local 188 getrusage(0, &cpu_usage); in main() 189 total_cpu_time = (cpu_usage.ru_utime.tv_sec + cpu_usage.ru_utime.tv_usec * 1e-6 + /*user */ in main() 190 cpu_usage.ru_stime.tv_sec + cpu_usage.ru_stime.tv_usec * 1e-6); /*sys */ in main()
|
D | cpuctl_def_task02.c | 101 struct rusage cpu_usage; in main() local 204 getrusage(0, &cpu_usage); in main() 206 total_cpu_time = (cpu_usage.ru_utime.tv_sec + in main() 207 cpu_usage.ru_utime.tv_usec * 1e-6 + in main() 208 cpu_usage.ru_stime.tv_sec + in main() 209 cpu_usage.ru_stime.tv_usec * 1e-6); in main()
|
D | cpuctl_test02.c | 104 struct rusage cpu_usage; in main() local 200 getrusage(0, &cpu_usage); in main() 201 total_cpu_time = (cpu_usage.ru_utime.tv_sec + cpu_usage.ru_utime.tv_usec * 1e-6 + /* user time */ in main() 202 cpu_usage.ru_stime.tv_sec + cpu_usage.ru_stime.tv_usec * 1e-6); /* system time */ in main()
|
/third_party/gstreamer/gstplugins_bad/tools/ |
D | gst-transcoder.c | 64 gint cpu_usage, rate; member 329 .cpu_usage = 100, in main() 336 {"cpu-usage", 'c', 0, G_OPTION_ARG_INT, &settings.cpu_usage, in main() 419 gst_transcoder_set_cpu_usage (transcoder, settings.cpu_usage); in main()
|
/third_party/gstreamer/gstplugins_bad/gst/transcode/ |
D | gst-cpu-throttling-clock.c | 215 gst_cpu_throttling_clock_new (guint cpu_usage) in gst_cpu_throttling_clock_new() argument 218 cpu_usage, NULL); in gst_cpu_throttling_clock_new()
|
D | gst-cpu-throttling-clock.h | 56 GstCpuThrottlingClock * gst_cpu_throttling_clock_new (guint cpu_usage);
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/transcoder/ |
D | gsttranscoder.h | 133 gint cpu_usage);
|
D | gsttranscoder.c | 135 gst_transcoder_set_cpu_usage (GstTranscoder * self, gint cpu_usage) in gst_transcoder_set_cpu_usage() argument 138 self->wanted_cpu_usage = cpu_usage; in gst_transcoder_set_cpu_usage() 140 g_object_set (self->transcodebin, "cpu-usage", cpu_usage, NULL); in gst_transcoder_set_cpu_usage()
|
/third_party/rust/crates/libc/src/unix/bsd/apple/ |
D | mod.rs | 1186 pub cpu_usage: ::integer_t, 2050 && self.cpu_usage == other.cpu_usage 2064 .field("cpu_usage", &self.cpu_usage) 2077 self.cpu_usage.hash(state);
|