OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:USEC_PER_SEC
(Results
1 - 18
of
18
) sorted by null
/system/extras/crypto-perf/
crypto.cpp
9
#define
USEC_PER_SEC
1000000ULL
134
elapsed_time.tv_sec *
USEC_PER_SEC
+ elapsed_time.tv_usec);
138
(float)(MAX_COUNT * NUM_INSTS_GARBAGE *
USEC_PER_SEC
) /
139
(elapsed_time.tv_sec *
USEC_PER_SEC
+ elapsed_time.tv_usec));
142
(float)(MAX_COUNT * NUM_INSTS_GARBAGE *
USEC_PER_SEC
) /
143
((elapsed_time.tv_sec *
USEC_PER_SEC
+ elapsed_time.tv_usec) *
157
elapsed_time.tv_sec *
USEC_PER_SEC
+ elapsed_time.tv_usec);
161
(float)(MAX_COUNT * NUM_INSTS_GARBAGE *
USEC_PER_SEC
) /
162
(elapsed_time.tv_sec *
USEC_PER_SEC
+ elapsed_time.tv_usec));
165
(float)(MAX_COUNT * NUM_INSTS_GARBAGE *
USEC_PER_SEC
) /
[
all
...]
/external/linux-kselftest/tools/testing/selftests/timers/
valid-adjtimex.c
38
#define
USEC_PER_SEC
1000000LL
213
tmx.time.tv_sec = offset /
USEC_PER_SEC
;
214
tmx.time.tv_usec = offset %
USEC_PER_SEC
;
218
tmx.time.tv_usec +=
USEC_PER_SEC
;
277
if (set_offset(
USEC_PER_SEC
- 1, 0))
280
if (set_offset(-
USEC_PER_SEC
+ 1, 0))
283
if (set_offset(-
USEC_PER_SEC
- 1, 0))
286
if (set_offset(5 *
USEC_PER_SEC
, 0))
289
if (set_offset(-5 *
USEC_PER_SEC
, 0))
292
if (set_offset(5 *
USEC_PER_SEC
+ USEC_PER_SEC / 2, 0)
[
all
...]
adjtick.c
31
#define
USEC_PER_SEC
1000000
184
systick =
USEC_PER_SEC
/sysconf(_SC_CLK_TCK);
/external/ltp/utils/ffsb-6.0-rc2/
main.c
220
#define
USEC_PER_SEC
((double)(1000000.0f))
224
((after_self.ru_utime.tv_usec) /
USEC_PER_SEC
)) +
226
((after_children.ru_utime.tv_usec) /
USEC_PER_SEC
)));
230
((before_self.ru_utime.tv_usec) /
USEC_PER_SEC
)) +
232
((before_children.ru_utime.tv_usec) /
USEC_PER_SEC
)));
236
((after_self.ru_stime.tv_usec) /
USEC_PER_SEC
)) +
238
((after_children.ru_stime.tv_usec) /
USEC_PER_SEC
)));
242
((before_self.ru_stime.tv_usec) /
USEC_PER_SEC
)) +
244
((before_children.ru_stime.tv_usec) /
USEC_PER_SEC
)));
/system/extras/tests/pagingtest/
pageinout_test.c
89
(file_size * test_runs *
USEC_PER_SEC
) /
90
(1024 * 1024 * (total_time_in.tv_sec *
USEC_PER_SEC
+ total_time_in.tv_usec)));
92
(file_size * test_runs *
USEC_PER_SEC
) /
93
(1024 * 1024 * (total_time_out.tv_sec *
USEC_PER_SEC
+ total_time_out.tv_usec)));
pagingtest.h
6
#define
USEC_PER_SEC
1000000ULL
mmap_test.c
40
printf("mmap: %llu us\n", total_time_mmap.tv_sec *
USEC_PER_SEC
+ total_time_mmap.tv_usec);
41
printf("munmap: %llu us\n", total_time_munmap.tv_sec *
USEC_PER_SEC
+ total_time_munmap.tv_usec);
thrashing_test.c
73
(filesize * ARRAY_SIZE(fds) * test_runs *
USEC_PER_SEC
) /
74
(1024 * 1024 * (total_time.tv_sec *
USEC_PER_SEC
+ total_time.tv_usec)));
/system/nfc/src/adaptation/
debug_nfcsnoop.cc
30
#define
USEC_PER_SEC
1000000ULL
120
uint64_t timestamp = static_cast<uint64_t>(tv.tv_sec) *
USEC_PER_SEC
+
/external/walt/ios/WALT/
WALTClient.m
56
return ((int64_t)ts.tv_sec) *
USEC_PER_SEC
+ ts.tv_nsec / NSEC_PER_USEC;
69
.tv_sec = (long)(us /
USEC_PER_SEC
),
70
.tv_nsec = (us %
USEC_PER_SEC
) * NSEC_PER_USEC,
549
return ((NSTimeInterval)microseconds + _sync.base) /
USEC_PER_SEC
;
568
result.t = ((NSTimeInterval)microseconds + _sync.base) /
USEC_PER_SEC
;
581
return ((NSTimeInterval)_sync.base) /
USEC_PER_SEC
;
585
return ((NSTimeInterval)CurrentTime(_clock)) /
USEC_PER_SEC
;
/external/autotest/client/tests/cyclictest/src/
cyclictest.c
41
#define
USEC_PER_SEC
1000000
178
diff =
USEC_PER_SEC
* ((int) t1.tv_sec - (int) t2.tv_sec);
211
interval.tv_sec = par->interval /
USEC_PER_SEC
;
212
interval.tv_nsec = (par->interval %
USEC_PER_SEC
) * 1000;
/external/dhcpcd-6.8.2/
common.h
54
#define
USEC_PER_SEC
1000000L
/external/autotest/client/tests/signaltest/src/
signaltest.c
36
#define
USEC_PER_SEC
1000000
83
diff =
USEC_PER_SEC
* ((int) t1.tv_sec - (int) t2.tv_sec);
/external/kmod/shared/
util.c
35
#define
USEC_PER_SEC
1000000ULL
460
return (unsigned long long) ts->tv_sec *
USEC_PER_SEC
+
/external/libevent/
evutil_time.c
83
#define
USEC_PER_SEC
U64_LITERAL(1000000)
101
tv->tv_usec = (long) ((ft.ft_64 / UNITS_PER_USEC) %
USEC_PER_SEC
);
/external/kmod/testsuite/
testsuite.c
63
#define
USEC_PER_SEC
1000000ULL
65
#define TEST_TIMEOUT_USEC 2 *
USEC_PER_SEC
/system/bt/audio_a2dp_hw/src/
audio_a2dp_hw.cc
58
#define
USEC_PER_SEC
1000000L
188
now_us = now.tv_sec *
USEC_PER_SEC
+ now.tv_nsec / 1000;
191
diff_us = (now.tv_sec - prev.tv_sec) *
USEC_PER_SEC
+
196
diff_us = (now.tv_sec - prev.tv_sec) *
USEC_PER_SEC
+
230
int)(((int64_t)bytes * (
USEC_PER_SEC
/ (chan_count * bytes_per_sample))) /
[
all
...]
/system/bt/audio_hearing_aid_hw/src/
audio_hearing_aid_hw.cc
52
#define
USEC_PER_SEC
1000000L
172
now_us = now.tv_sec *
USEC_PER_SEC
+ now.tv_nsec / 1000;
175
diff_us = (now.tv_sec - prev.tv_sec) *
USEC_PER_SEC
+
180
diff_us = (now.tv_sec - prev.tv_sec) *
USEC_PER_SEC
+
214
int)(((int64_t)bytes * (
USEC_PER_SEC
/ (chan_count * bytes_per_sample))) /
[
all
...]
Completed in 1305 milliseconds