Lines Matching refs:TimedResult
82 struct TimedResult { struct
129 ScopedTimer(TimedResult& res) : res_(res) { res_.start_ns = Nanotime(); } in ScopedTimer()
134 TimedResult& res_;
140 static TimedResult TimerCall(MallocFn fn, Args... args) { in TimerCall()
141 TimedResult ret; in TimerCall()
154 static TimedResult TimerCallVoid(MallocFn fn, Args... args) { in TimerCallVoid()
155 TimedResult ret; in TimerCallVoid()
520 static TimedResult InternalMalloc(size_t size) { in InternalMalloc()
535 TimedResult result; in InternalMalloc()
590 TimedResult result = InternalMalloc(size); in debug_malloc()
600 static TimedResult InternalFree(void* pointer) { in InternalFree()
646 TimedResult result; in InternalFree()
679 TimedResult result = InternalFree(pointer); in debug_free()
706 TimedResult result; in debug_memalign()
785 TimedResult result = InternalMalloc(bytes); in debug_realloc()
799 TimedResult result = InternalFree(pointer); in debug_realloc()
824 TimedResult result; in debug_realloc()
867 TimedResult free_time = InternalFree(pointer); in debug_realloc()
941 TimedResult result; in debug_calloc()