OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:kNanosPerSecond
(Results
1 - 5
of
5
) sorted by null
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
clock_ns.h
10
constexpr int64_t
kNanosPerSecond
= 1000000000ll;
28
int64_t ns =
kNanosPerSecond
* (int64_t)t.tv_sec + (int64_t)t.tv_nsec;
34
int64_t ns =
kNanosPerSecond
* (int64_t)t.tv_sec + (int64_t)t.tv_nsec;
39
return nanoseconds / static_cast<double>(
kNanosPerSecond
);
52
t.tv_sec = ns /
kNanosPerSecond
;
53
remainder = ns %
kNanosPerSecond
;
56
remainder +=
kNanosPerSecond
;
/external/protobuf/src/google/protobuf/util/internal/
constants.h
65
const int32
kNanosPerSecond
= 1000000000;
/system/libfmq/
EventFlag.cpp
258
static constexpr int64_t
kNanosPerSecond
= 1000000000;
261
waitTime->tv_sec += nanoSeconds /
kNanosPerSecond
;
262
waitTime->tv_nsec += nanoSeconds %
kNanosPerSecond
;
264
if (waitTime->tv_nsec >=
kNanosPerSecond
) {
266
waitTime->tv_nsec -=
kNanosPerSecond
;
/external/protobuf/src/google/protobuf/util/
time_util.cc
48
static const int
kNanosPerSecond
= 1000000000;
64
if (nanos <= -
kNanosPerSecond
|| nanos >=
kNanosPerSecond
) {
65
seconds += nanos /
kNanosPerSecond
;
66
nanos = nanos %
kNanosPerSecond
;
71
nanos +=
kNanosPerSecond
;
84
if (nanos <= -
kNanosPerSecond
|| nanos >=
kNanosPerSecond
) {
85
seconds += nanos /
kNanosPerSecond
;
86
nanos = nanos %
kNanosPerSecond
;
[
all
...]
/frameworks/native/libs/vr/libpdx_default_transport/
pdx_benchmarks.cpp
69
constexpr uint64_t
kNanosPerSecond
= 1000000000llu;
74
return
kNanosPerSecond
* t.tv_sec + t.tv_nsec;
119
return static_cast<double>(cpu_time_ns_) /
kNanosPerSecond
;
122
return static_cast<double>(wait_ns_) /
kNanosPerSecond
;
798
if (iteration_delta_ns > (
kNanosPerSecond
/ 100)) {
803
kNanosPerSecond
)
814
kNanosPerSecond
;
879
static_cast<double>(total_time_ns) /
kNanosPerSecond
;
887
static_cast<double>(min_sample_time_ns) /
kNanosPerSecond
;
892
static_cast<double>(max_sample_time_ns) /
kNanosPerSecond
;
[
all
...]
Completed in 1554 milliseconds