Home
last modified time | relevance | path

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

/developtools/profiler/device/plugins/native_hook/test/
H A Dhook_test.c109 clock_t timerStop = 0; in ApplyForMalloc() local
113 timerStop = clock(); in ApplyForMalloc()
118 duration += (double)(timerStop - timerStart) / CLOCKS_PER_SEC; in ApplyForMalloc()
119 g_mallocDuration += (double)(timerStop - timerStart) / CLOCKS_PER_SEC; in ApplyForMalloc()
124 timerStop = clock(); in ApplyForMalloc()
125 duration += (double)(timerStop - timerStart) / CLOCKS_PER_SEC; in ApplyForMalloc()
126 g_freeDuration += (double)(timerStop - timerStart) / CLOCKS_PER_SEC; in ApplyForMalloc()
127 printf("free success, free time is %f\n", (double)(timerStop - timerStart) / CLOCKS_PER_SEC); in ApplyForMalloc()
136 clock_t timerStop = 0; in ApplyForCalloc() local
140 timerStop in ApplyForCalloc()
167 clock_t timerStop = 0; ApplyForRealloc() local
[all...]
H A Dmalloc_test.cpp107 clock_t timerStop = 0; in ApplyForMalloc() local
111 timerStop = clock(); in ApplyForMalloc()
116 duration += static_cast<double>(timerStop - timerStart) / CLOCKS_PER_SEC; in ApplyForMalloc()
117 g_mallocDuration += static_cast<double>(timerStop - timerStart) / CLOCKS_PER_SEC; in ApplyForMalloc()
122 timerStop = clock(); in ApplyForMalloc()
123 duration += static_cast<double>(timerStop - timerStart) / CLOCKS_PER_SEC; in ApplyForMalloc()
124 g_freeDuration += static_cast<double>(timerStop - timerStart) / CLOCKS_PER_SEC; in ApplyForMalloc()
125 printf("free success, free time is %f\n", static_cast<double>(timerStop - timerStart) / CLOCKS_PER_SEC); in ApplyForMalloc()
134 clock_t timerStop = 0; in ApplyForCalloc() local
138 timerStop in ApplyForCalloc()
166 clock_t timerStop = 0; ApplyForRealloc() local
[all...]

Completed in 2 milliseconds