Home
last modified time | relevance | path

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

/developtools/profiler/device/plugins/native_hook/test/
Dhook_test.cpp170 int ThreadTimeCost(int threadNum, int mallocTimes) { in ThreadTimeCost() argument
183 …pthread_create(thr_array + idx, nullptr, thread_func_cpp, static_cast<void*>(&mallocTimes)) != 0) { in ThreadTimeCost()
202 …ad_create(thr_array_hook + idx, nullptr, thread_func_cpp_hook, static_cast<void*>(&mallocTimes)) != in ThreadTimeCost()
220 int mallocTimes = 0; in main() local
225 mallocTimes = atoi(argv[ARGC_MALLOC_TIMES]); in main()
233 printf("Test start %d thread, malloc %d times\n", threadNum, mallocTimes); in main()
234 if (!ThreadTimeCost(threadNum, mallocTimes)) { in main()