Home
last modified time | relevance | path

Searched refs:cpu_usage (Results 1 – 15 of 15) sorted by relevance

/third_party/ltp/testcases/kernel/controllers/cpuctl_fj/
Drun_cpuctl_test_fj.sh596 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/
Dcpuctl_def_task04.c99 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()
Dcpuctl_def_task01.c99 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()
Dcpuctl_test03.c99 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()
Dcpuctl_def_task03.c97 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()
Dcpuctl_test04.c99 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()
Dcpuctl_test01.c99 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()
Dcpuctl_def_task02.c101 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()
Dcpuctl_test02.c104 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/
Dgst-transcoder.c64 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/
Dgst-cpu-throttling-clock.c215 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()
Dgst-cpu-throttling-clock.h56 GstCpuThrottlingClock * gst_cpu_throttling_clock_new (guint cpu_usage);
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/transcoder/
Dgsttranscoder.h133 gint cpu_usage);
Dgsttranscoder.c135 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/
Dmod.rs1186 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);