Home | History | Annotate | Download | only in profiles

Lines Matching refs:apd

298 	struct act_prof_data *apd = td->prof_data;
310 if (apd->cur_slice >= apd->nr_slices)
313 slice = &apd->slices[apd->cur_slice];
323 if (time_since_now(&apd->sample_tv) < SAMPLE_SEC)
337 fio_gettime(&apd->sample_tv, NULL);
338 apd->cur_slice++;
400 struct act_prof_data *apd = td->prof_data;
406 act_run_data->slices = calloc(apd->nr_slices, sizeof(struct act_slice));
407 act_run_data->nr_slices = apd->nr_slices;
410 for (slice = 0; slice < apd->nr_slices; slice++) {
412 struct act_slice *src = &apd->slices[slice];
428 struct act_prof_data *apd;
433 apd = calloc(1, sizeof(*apd));
435 apd->slices = calloc(nr_slices, sizeof(struct act_slice));
436 apd->nr_slices = nr_slices;
437 fio_gettime(&apd->sample_tv, NULL);
438 td->prof_data = apd;
444 struct act_prof_data *apd = td->prof_data;
447 free(apd->slices);
448 free(apd);