Home
last modified time | relevance | path

Searched refs:end_ns (Results 1 – 3 of 3) sorted by relevance

/bionic/libc/malloc_debug/
DRecordData.cpp56 AllocEntry::AllocEntry(void* pointer, uint64_t start_ns, uint64_t end_ns) in AllocEntry() argument
57 : pointer_(pointer), start_ns_(start_ns), end_ns_(end_ns) {} in AllocEntry()
59 MallocEntry::MallocEntry(void* pointer, size_t size, uint64_t start_ns, uint64_t end_ns) in MallocEntry() argument
60 : AllocEntry(pointer, start_ns, end_ns), size_(size) {} in MallocEntry()
67 FreeEntry::FreeEntry(void* pointer, uint64_t start_ns, uint64_t end_ns) in FreeEntry() argument
68 : AllocEntry(pointer, start_ns, end_ns) {} in FreeEntry()
76 uint64_t end_ns) in CallocEntry() argument
77 : MallocEntry(pointer, size, start_ns, end_ns), nmemb_(nmemb) {} in CallocEntry()
85 uint64_t end_ns) in ReallocEntry() argument
86 : MallocEntry(pointer, size, start_ns, end_ns), old_pointer_(old_pointer) {} in ReallocEntry()
[all …]
Dmalloc_debug.cpp84 uint64_t end_ns = 0; member
92 uint64_t GetEndTimeNS() const { return end_ns; } in GetEndTimeNS()
94 void SetEndTimeNS(uint64_t t) { end_ns = t; } in SetEndTimeNS()
131 ~ScopedTimer() { res_.end_ns = Nanotime(); } in ~ScopedTimer()
/bionic/tests/
Dpthread_test.cpp2451 const int64_t end_ns = ts.tv_sec * NS_PER_S + ts.tv_nsec; in pthread_mutex_timedlock_helper() local
2452 ASSERT_GT(end_ns - start_ns, NS_PER_S); in pthread_mutex_timedlock_helper()
2535 const int64_t end_ns = ts.tv_sec * NS_PER_S + ts.tv_nsec; in pthread_mutex_timedlock_pi_helper() local
2536 ASSERT_GT(end_ns - start_ns, NS_PER_S); in pthread_mutex_timedlock_pi_helper()