Searched refs:sleep_time (Results 1 – 16 of 16) sorted by relevance
| /tools/power/cpupower/bench/ |
| A D | benchmark.c | 82 long sleep_time = 0, load_time = 0; in start_benchmark() local 87 sleep_time = config->sleep; in start_benchmark() 117 _round, load_time, sleep_time); in start_benchmark() 127 usleep(sleep_time); in start_benchmark() 135 (long)(then - now), sleep_time, in start_benchmark() 141 progress_time += sleep_time + load_time; in start_benchmark() 153 usleep(sleep_time); in start_benchmark() 156 powersave_time += then - now - sleep_time; in start_benchmark() 161 (long)(then - now), sleep_time, in start_benchmark() 165 progress_time += sleep_time + load_time; in start_benchmark() [all …]
|
| A D | system.c | 128 unsigned long sleep_time = 0; in prepare_user() local 133 sleep_time += 2 * config->cycles * in prepare_user() 142 (int)((sleep_time + load_time) / 60000000)); in prepare_user()
|
| /tools/power/acpi/tools/ec/ |
| A D | ec_access.c | 30 static int sleep_time; variable 69 sleep_time = atoi(optarg); in parse_opts() 70 if (sleep_time <= 0) { in parse_opts() 71 sleep_time = 0; in parse_opts() 147 if (!sleep_time) in dump_ec() 152 sleep(sleep_time); in dump_ec()
|
| /tools/laptop/dslm/ |
| A D | dslm.c | 75 time_t sleep_time = 0; in measure() local 97 else if (last_state == 0) sleep_time += time_diff; in measure() 113 tmp = (float)sleep_time / (float)total_time * 100; in measure() 114 printf(" Time in sleep state: %lus (%.2f%%)\n", sleep_time, tmp); in measure()
|
| /tools/tracing/rtla/src/ |
| A D | timerlat.c | 29 if (!params->sleep_time) in timerlat_apply_config() 30 params->sleep_time = 1; in timerlat_apply_config()
|
| A D | timerlat.h | 32 int sleep_time; member
|
| A D | osnoise.h | 23 int sleep_time; member
|
| A D | osnoise.c | 1130 if (!params->sleep_time) in osnoise_apply_config() 1131 params->sleep_time = 1; in osnoise_apply_config()
|
| A D | timerlat_top.c | 929 sleep(params->sleep_time); in timerlat_top_main_loop() 995 wait_retval = timerlat_bpf_wait(params->quiet ? -1 : params->sleep_time); in timerlat_top_bpf_main_loop()
|
| A D | osnoise_top.c | 695 sleep(params->sleep_time); in osnoise_top_main()
|
| A D | osnoise_hist.c | 871 sleep(params->sleep_time); in osnoise_hist_main()
|
| A D | timerlat_hist.c | 1377 sleep(params->sleep_time); in timerlat_hist_main()
|
| /tools/testing/ktest/ |
| A D | ktest.pl | 175 my $sleep_time; 331 "SLEEP_TIME" => \$sleep_time, 1864 reboot_to_good $sleep_time; 2370 reboot $sleep_time; 2790 doprint "Reboot and wait $sleep_time seconds\n"; 2791 reboot_to_good $sleep_time; 4131 doprint "Reboot and wait $sleep_time seconds\n"; 4132 reboot_to_good $sleep_time;
|
| /tools/tracing/latency/ |
| A D | latency-collector.c | 124 static long sleep_time = (USEC_PER_MSEC * SLEEP_TIME_MS_DEFAULT); variable 1012 long delay = sleep_time; in go_to_sleep() 1948 sleep_time = value * USEC_PER_MSEC; in scan_arguments() 2053 sleep_time / USEC_PER_MSEC); in show_params()
|
| /tools/perf/ |
| A D | builtin-stat.c | 574 int time_to_sleep, sleep_time; in dispatch_events() local 578 sleep_time = interval; in dispatch_events() 580 sleep_time = timeout; in dispatch_events() 582 sleep_time = 1000; in dispatch_events() 584 time_to_sleep = sleep_time; in dispatch_events() 599 time_to_sleep = sleep_time; in dispatch_events()
|
| /tools/testing/selftests/net/ |
| A D | ipsec.c | 776 struct timespec sleep_time = { in do_ping() local 782 nanosleep(&sleep_time, 0); in do_ping()
|
Completed in 35 milliseconds