Searched refs:sleep_time (Results 1 – 7 of 7) sorted by relevance
/tools/power/cpupower/bench/ |
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() 130 performance_time += then - now - 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() [all …]
|
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/ |
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/ |
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/testing/ktest/ |
D | ktest.pl | 173 my $sleep_time; 326 "SLEEP_TIME" => \$sleep_time, 1764 reboot_to_good $sleep_time; 2272 reboot $sleep_time; 2686 doprint "Reboot and wait $sleep_time seconds\n"; 2687 reboot_to_good $sleep_time; 4043 doprint "Reboot and wait $sleep_time seconds\n"; 4044 reboot_to_good $sleep_time;
|
/tools/perf/ |
D | builtin-stat.c | 619 int time_to_sleep, sleep_time; in dispatch_events() local 623 sleep_time = interval; in dispatch_events() 625 sleep_time = timeout; in dispatch_events() 627 sleep_time = 1000; in dispatch_events() 629 time_to_sleep = sleep_time; in dispatch_events() 644 time_to_sleep = sleep_time; in dispatch_events()
|
/tools/testing/selftests/net/ |
D | ipsec.c | 734 struct timespec sleep_time = { in do_ping() local 740 nanosleep(&sleep_time, 0); in do_ping()
|