Lines Matching refs:with_data

81 create_table(unsigned int with_data, unsigned int table_index,  in create_table()  argument
86 if (with_data) in create_table()
251 timed_adds(unsigned int with_hash, unsigned int with_data, in timed_adds() argument
266 if (with_hash && with_data) { in timed_adds()
274 } else if (with_hash && !with_data) { in timed_adds()
284 } else if (!with_hash && with_data) { in timed_adds()
306 cycles[table_index][OP_ADD][with_hash][with_data] = time_taken/keys_to_add; in timed_adds()
312 timed_lookups(unsigned int with_hash, unsigned int with_data, in timed_lookups() argument
331 if (with_hash && with_data) { in timed_lookups()
346 } else if (with_hash && !with_data) { in timed_lookups()
355 } else if (!with_hash && with_data) { in timed_lookups()
383 cycles[table_index][OP_LOOKUP][with_hash][with_data] = time_taken/num_lookups; in timed_lookups()
389 timed_lookups_multi(unsigned int with_hash, unsigned int with_data, in timed_lookups_multi() argument
415 if (!with_hash && with_data) { in timed_lookups_multi()
440 } else if (with_hash && with_data) { in timed_lookups_multi()
472 } else if (with_hash && !with_data) { in timed_lookups_multi()
509 cycles[table_index][OP_LOOKUP_MULTI][with_hash][with_data] = in timed_lookups_multi()
516 timed_deletes(unsigned int with_hash, unsigned int with_data, in timed_deletes() argument
548 cycles[table_index][OP_DELETE][with_hash][with_data] = time_taken/keys_to_add; in timed_deletes()
569 unsigned i, j, with_data, with_hash; in run_all_tbl_perf_tests() local
574 for (with_data = 0; with_data <= 1; with_data++) { in run_all_tbl_perf_tests()
576 if (create_table(with_data, i, with_locks, ext) < 0) in run_all_tbl_perf_tests()
582 if (timed_adds(with_hash, with_data, i, ext) < 0) in run_all_tbl_perf_tests()
588 if (timed_lookups(with_hash, with_data, i, ext) < 0) in run_all_tbl_perf_tests()
591 if (timed_lookups_multi(with_hash, with_data, in run_all_tbl_perf_tests()
595 if (timed_deletes(with_hash, with_data, i, ext) < 0) in run_all_tbl_perf_tests()
610 for (with_data = 0; with_data <= 1; with_data++) { in run_all_tbl_perf_tests()
611 if (with_data) in run_all_tbl_perf_tests()
626 printf("%-18"PRIu64, cycles[i][j][with_hash][with_data]); in run_all_tbl_perf_tests()