Lines Matching defs:duration
110 double duration = 0;
118 duration += (double)(timerStop - timerStart) / CLOCKS_PER_SEC;
120 printf("malloc success, malloc (%d) time is %f\n", mallocSize, duration);
125 duration += (double)(timerStop - timerStart) / CLOCKS_PER_SEC;
128 printf("malloc apply success, total time is %f\n", duration);
137 double duration = 0;
145 duration += (double)(timerStop - timerStart) / CLOCKS_PER_SEC;
147 printf("calloc success, calloc (%d) time is %f\n", callocSize, duration);
152 duration += (double)(timerStop - timerStart) / CLOCKS_PER_SEC;
155 printf("calloc apply success, total time is %f\n", duration);
168 double duration = 0;
182 duration += (double)(timerStop - timerStart) / CLOCKS_PER_SEC;
184 printf("realloc success, realloc (%d) time is %f\n", reallocSize, duration);
189 duration += (double)(timerStop - timerStart) / CLOCKS_PER_SEC;
192 printf("realloc apply success, total time is %f\n", duration);