OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:sleep_time
(Results
1 - 12
of
12
) sorted by null
/external/ltp/testcases/kernel/syscalls/alarm/
alarm07.c
86
int
sleep_time
= 5;
local
111
sleep(
sleep_time
);
/external/ltp/tools/pounder21/src/time_tests/
drift-test.py
25
# Usage: drift-test.py [-s] [ntp_server [
sleep_time
]]
36
sleep_time
= 0
variable
45
elif
sleep_time
== 0:
46
sleep_time
= string.atoi(arg)
variable
50
if
sleep_time
== 0:
51
sleep_time
= sleep_time_default
variable
90
time.sleep(
sleep_time
)
/external/ltp/testcases/kernel/mem/mmapstress/
mmapstress06.c
67
int
sleep_time
= 0;
local
73
if (argc != 2 || !(
sleep_time
= atoi(argv[1]))) {
74
(void)fprintf(stderr, "usage: %s
sleep_time
\n", argv[0]);
97
(void)sleep(
sleep_time
);
/external/libchrome/base/threading/
platform_thread_posix.cc
168
struct timespec
sleep_time
, remaining;
local
173
sleep_time
.tv_sec = duration.InSeconds();
174
duration -= TimeDelta::FromSeconds(
sleep_time
.tv_sec);
175
sleep_time
.tv_nsec = duration.InMicroseconds() * 1000; // nanoseconds
177
while (nanosleep(&
sleep_time
, &remaining) == -1 && errno == EINTR)
178
sleep_time
= remaining;
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/
4-3.c
73
static unsigned long
sleep_time
;
variable
116
* then start increasing
sleep_time
to make sure all threads
118
sleep_time
++;
119
if (
sleep_time
/ SIGNALS_WITHOUT_DELAY > 0)
120
usleep(
sleep_time
/ SIGNALS_WITHOUT_DELAY);
177
sleep_time
= 0;
/external/libvncserver/examples/
mac.c
51
static unsigned long
sleep_time
;
variable
91
&
sleep_time
) != kIOReturnSuccess)
106
sleep_time
) != kIOReturnSuccess)
110
sleep_time
= 0;
/art/runtime/jit/
profile_saver.cc
99
uint64_t
sleep_time
= 0;
local
103
sleep_time
= NanoTime() - sleep_start;
114
while (min_save_period_ns * 0.9 >
sleep_time
) {
117
period_condition_.TimedWait(self, NsToMs(min_save_period_ns -
sleep_time
), 0);
118
sleep_time
= NanoTime() - sleep_start;
/device/asus/fugu/libaudio/
AudioStreamOut.cpp
251
useconds_t
sleep_time
;
local
258
sleep_time
= 1000000;
260
sleep_time
= static_cast<useconds_t>(deltaUSec);
262
usleep(
sleep_time
);
/hardware/libhardware/modules/audio/
audio_hw.c
130
int64_t
sleep_time
= bytes * 1000000LL / audio_stream_out_frame_size(stream) /
local
132
if (
sleep_time
> 0) {
133
usleep(
sleep_time
);
136
sleep_time
= 0;
138
out->last_write_time_us = now +
sleep_time
;
257
int64_t
sleep_time
= bytes * 1000000LL / audio_stream_in_frame_size(stream) /
local
259
if (
sleep_time
> 0) {
260
usleep(
sleep_time
);
262
sleep_time
= 0;
264
in->last_read_time_us = now +
sleep_time
;
[
all
...]
/system/core/logd/tests/
logd_test.cpp
775
static const unsigned
sleep_time
= sndtimeo + 3;
local
776
static const unsigned alarm_time =
sleep_time
+ 5;
804
sleep(
sleep_time
);
[
all
...]
/test/vts/runners/target/gtest/
gtest_main.cpp
780
timespec
sleep_time
;
local
781
sleep_time
.tv_sec = 0;
782
sleep_time
.tv_nsec = 1000000;
783
nanosleep(&
sleep_time
, NULL);
[
all
...]
/bionic/tests/
gtest_main.cpp
842
timespec
sleep_time
;
local
843
sleep_time
.tv_sec = 0;
844
sleep_time
.tv_nsec = 1000000;
845
nanosleep(&
sleep_time
, NULL);
[
all
...]
Completed in 1192 milliseconds