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()
256 timed_adds(unsigned int with_hash, unsigned int with_data, in timed_adds() argument
271 if (with_hash && with_data) { in timed_adds()
279 } else if (with_hash && !with_data) { in timed_adds()
289 } else if (!with_hash && with_data) { in timed_adds()
311 cycles[table_index][ADD][with_hash][with_data] = time_taken/keys_to_add; in timed_adds()
317 timed_lookups(unsigned int with_hash, unsigned int with_data, in timed_lookups() argument
336 if (with_hash && with_data) { in timed_lookups()
351 } else if (with_hash && !with_data) { in timed_lookups()
360 } else if (!with_hash && with_data) { in timed_lookups()
388 cycles[table_index][LOOKUP][with_hash][with_data] = time_taken/num_lookups; in timed_lookups()
394 timed_lookups_multi(unsigned int with_hash, unsigned int with_data, in timed_lookups_multi() argument
420 if (!with_hash && with_data) { in timed_lookups_multi()
445 } else if (with_hash && with_data) { in timed_lookups_multi()
477 } else if (with_hash && !with_data) { in timed_lookups_multi()
514 cycles[table_index][LOOKUP_MULTI][with_hash][with_data] = in timed_lookups_multi()
521 timed_deletes(unsigned int with_hash, unsigned int with_data, in timed_deletes() argument
553 cycles[table_index][DELETE][with_hash][with_data] = time_taken/keys_to_add; in timed_deletes()
574 unsigned i, j, with_data, with_hash; in run_all_tbl_perf_tests() local
579 for (with_data = 0; with_data <= 1; with_data++) { in run_all_tbl_perf_tests()
581 if (create_table(with_data, i, with_locks, ext) < 0) in run_all_tbl_perf_tests()
587 if (timed_adds(with_hash, with_data, i, ext) < 0) in run_all_tbl_perf_tests()
593 if (timed_lookups(with_hash, with_data, i, ext) < 0) in run_all_tbl_perf_tests()
596 if (timed_lookups_multi(with_hash, with_data, in run_all_tbl_perf_tests()
600 if (timed_deletes(with_hash, with_data, i, ext) < 0) in run_all_tbl_perf_tests()
615 for (with_data = 0; with_data <= 1; with_data++) { in run_all_tbl_perf_tests()
616 if (with_data) in run_all_tbl_perf_tests()
631 printf("%-18"PRIu64, cycles[i][j][with_hash][with_data]); in run_all_tbl_perf_tests()