OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:nsecs_t
(Results
1 - 3
of
3
) sorted by null
/system/extras/tests/memtest/
fptest.cpp
34
typedef long long
nsecs_t
;
typedef
35
static
nsecs_t
gTime;
38
static
nsecs_t
system_time()
43
return
nsecs_t
(t.tv_sec)*1000000000LL + t.tv_nsec;
53
nsecs_t
t = system_time() - gTime;
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();
185
const
nsecs_t
overhead = loop_overhead(REPEAT);
193
nsecs_t
t = -system_time();
303
const
nsecs_t
overhead = loop_overhead(REPEAT);
308
nsecs_t
t = -system_time()
[
all
...]
/frameworks/native/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
...]
Completed in 5654 milliseconds