Home
last modified time | relevance | path

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

/external/fio/t/
Dbtrace2fio.c854 static int entries_close(struct btrace_pid *pida, struct btrace_pid *pidb) in entries_close() argument
860 if ((pida->o.ios[i] && !pidb->o.ios[i]) || in entries_close()
861 (pidb->o.ios[i] && !pida->o.ios[i])) in entries_close()
863 if (pida->o.ios[i] && pidb->o.ios[i]) { in entries_close()
865 percb = ((float) pidb->o.seq[i] * 100.0) / (float) pidb->o.ios[i]; in entries_close()
871 idiff = pida->o.depth - pidb->o.depth; in entries_close()
911 static int merge_entries(struct btrace_pid *pida, struct btrace_pid *pidb) in merge_entries() argument
915 if (!entries_close(pida, pidb)) in merge_entries()
920 pida->merge_pids[pida->nr_merge_pids - 1] = pidb->pid; in merge_entries()
924 struct btrace_out *ob = &pidb->o; in merge_entries()
[all …]