Home
last modified time | relevance | path

Searched refs:S_TO_NS (Results 1 - 2 of 2) sorted by relevance

/developtools/profiler/device/plugins/native_hook/src/
H A Dhook_client.cpp60 constexpr uint64_t S_TO_NS = 1000 * 1000 * 1000; member
407 g_timeCost += (end.tv_sec - start.tv_sec) * S_TO_NS + (end.tv_nsec - start.tv_nsec); in hook_malloc()
478 g_timeCost += (end.tv_sec - start.tv_sec) * S_TO_NS + (end.tv_nsec - start.tv_nsec); in hook_malloc()
512 g_timeCost += (end.tv_sec - start.tv_sec) * S_TO_NS + (end.tv_nsec - start.tv_nsec); in hook_aligned_alloc()
583 g_timeCost += (end.tv_sec - start.tv_sec) * S_TO_NS + (end.tv_nsec - start.tv_nsec); in hook_aligned_alloc()
626 g_timeCost += (end.tv_sec - start.tv_sec) * S_TO_NS + (end.tv_nsec - start.tv_nsec); in hook_calloc()
693 g_timeCost += (end.tv_sec - start.tv_sec) * S_TO_NS + (end.tv_nsec - start.tv_nsec); in hook_calloc()
735 g_timeCost += (end.tv_sec - start.tv_sec) * S_TO_NS + (end.tv_nsec - start.tv_nsec); in hook_realloc()
820 g_timeCost += (end.tv_sec - start.tv_sec) * S_TO_NS + (end.tv_nsec - start.tv_nsec); in hook_realloc()
860 g_timeCost += (end.tv_sec - start.tv_sec) * S_TO_NS in hook_free()
[all...]
/developtools/profiler/device/services/profiler_service/src/
H A Dprofiler_service.cpp61 constexpr uint64_t S_TO_NS = 1000 * 1000 * 1000; member
609 uint64_t costTime = (end.tv_sec - start.tv_sec) * S_TO_NS + (end.tv_nsec - start.tv_nsec); in StopSession()

Completed in 3 milliseconds