Lines Matching refs:duration
108 double duration = 0;
116 duration += static_cast<double>(timerStop - timerStart) / CLOCKS_PER_SEC;
118 printf("malloc success, malloc (%d) time is %f\n", mallocSize, duration);
123 duration += static_cast<double>(timerStop - timerStart) / CLOCKS_PER_SEC;
126 printf("malloc apply success, total time is %f\n", duration);
135 double duration = 0;
143 duration += static_cast<double>(timerStop - timerStart) / CLOCKS_PER_SEC;
145 printf("calloc success, calloc (%d) time is %f\n", callocSize, duration);
150 duration += static_cast<double>(timerStop - timerStart) / CLOCKS_PER_SEC;
153 printf("calloc apply success, total time is %f\n", duration);
167 double duration = 0;
181 duration += static_cast<double>(timerStop - timerStart) / CLOCKS_PER_SEC;
183 printf("realloc success, realloc (%d) time is %f\n", reallocSize, duration);
188 duration += static_cast<double>(timerStop - timerStart) / CLOCKS_PER_SEC;
191 printf("realloc apply success, total time is %f\n", duration);