summaryrefslogtreecommitdiff
path: root/legacy/eina/src/tests/eina_bench_hash.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2008-09-04 15:06:26 +0000
committerCedric BAIL <cedric.bail@free.fr>2008-09-04 15:06:26 +0000
commit991867bd7b995f61ef6a0ebef0bfd638de68e349 (patch)
tree41baca99207992807fb8c8c03276157ab20495bc /legacy/eina/src/tests/eina_bench_hash.c
parent593569c78e7c98395a649701cae91b3871bb1deb (diff)
Share eina_benchmark to other libs also.
SVN revision: 35832
Diffstat (limited to '')
-rw-r--r--legacy/eina/src/tests/eina_bench_hash.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/legacy/eina/src/tests/eina_bench_hash.c b/legacy/eina/src/tests/eina_bench_hash.c
index 2d2eefeb4b..ce7df8942b 100644
--- a/legacy/eina/src/tests/eina_bench_hash.c
+++ b/legacy/eina/src/tests/eina_bench_hash.c
@@ -288,13 +288,13 @@ eina_bench_lookup_ghash(int request)
288} 288}
289#endif 289#endif
290 290
291void eina_bench_hash(Eina_Bench *bench) 291void eina_bench_hash(Eina_Benchmark *bench)
292{ 292{
293 eina_bench_register(bench, "superfast-lookup", EINA_BENCH(eina_bench_lookup_superfast), 1000, 180000, 2500); 293 eina_benchmark_register(bench, "superfast-lookup", EINA_BENCHMARK(eina_bench_lookup_superfast), 1000, 180000, 2500);
294 eina_bench_register(bench, "djb2-lookup", EINA_BENCH(eina_bench_lookup_djb2), 1000, 180000, 2500); 294 eina_benchmark_register(bench, "djb2-lookup", EINA_BENCHMARK(eina_bench_lookup_djb2), 1000, 180000, 2500);
295 eina_bench_register(bench, "djb2-lookup-inline", EINA_BENCH(eina_bench_lookup_djb2_inline), 1000, 180000, 2500); 295 eina_benchmark_register(bench, "djb2-lookup-inline", EINA_BENCHMARK(eina_bench_lookup_djb2_inline), 1000, 180000, 2500);
296 eina_bench_register(bench, "rbtree", EINA_BENCH(eina_bench_lookup_rbtree), 1000, 180000, 2500); 296 eina_benchmark_register(bench, "rbtree", EINA_BENCHMARK(eina_bench_lookup_rbtree), 1000, 180000, 2500);
297#ifdef EINA_BENCH_HAVE_GLIB 297#ifdef EINA_BENCH_HAVE_GLIB
298 eina_bench_register(bench, "ghash-lookup", EINA_BENCH(eina_bench_lookup_ghash), 1000, 180000, 2500); 298 eina_benchmark_register(bench, "ghash-lookup", EINA_BENCHMARK(eina_bench_lookup_ghash), 1000, 180000, 2500);
299#endif 299#endif
300} 300}