OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:nsecs_t
(Results
1 - 2
of
2
) sorted by null
/frameworks/base/include/utils/
Timers.h
34
typedef int64_t
nsecs_t
; // nano-seconds
typedef
36
static inline
nsecs_t
seconds_to_nanoseconds(
nsecs_t
secs)
41
static inline
nsecs_t
milliseconds_to_nanoseconds(
nsecs_t
secs)
46
static inline
nsecs_t
microseconds_to_nanoseconds(
nsecs_t
secs)
51
static inline
nsecs_t
nanoseconds_to_seconds(
nsecs_t
secs)
56
static inline
nsecs_t
nanoseconds_to_milliseconds(nsecs_t secs
[
all
...]
/system/extras/tests/memtest/
memtest.cpp
42
typedef long long
nsecs_t
;
typedef
44
static
nsecs_t
system_time()
49
return
nsecs_t
(t.tv_sec)*1000000000LL + t.tv_nsec;
52
nsecs_t
loop_overhead(size_t count) __attribute__((noinline));
53
nsecs_t
loop_overhead(size_t count)
55
nsecs_t
overhead = -system_time();
183
const
nsecs_t
overhead = loop_overhead(REPEAT);
191
nsecs_t
t = -system_time();
301
const
nsecs_t
overhead = loop_overhead(REPEAT);
306
nsecs_t
t = -system_time()
[
all
...]
Completed in 63 milliseconds