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