summaryrefslogtreecommitdiff
path: root/legacy/eina/src/tests/eina_bench_hash.c
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2010-01-24 10:54:07 +0000
committerVincent Torri <vincent.torri@gmail.com>2010-01-24 10:54:07 +0000
commitb9cbdd4a7dc36c0ab34774e1d69c5673e43b0709 (patch)
tree6f063b0da0b950dd901f777e1be8bd26aa37a575 /legacy/eina/src/tests/eina_bench_hash.c
parente4200ef02b5100c5d5af16740fcb93295977951b (diff)
make the ecore tests stand alone (no ecore installation needed)
so no cyclic dependency SVN revision: 45512
Diffstat (limited to '')
-rw-r--r--legacy/eina/src/tests/eina_bench_hash.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/legacy/eina/src/tests/eina_bench_hash.c b/legacy/eina/src/tests/eina_bench_hash.c
index 268bf9ab58..d90abf7324 100644
--- a/legacy/eina/src/tests/eina_bench_hash.c
+++ b/legacy/eina/src/tests/eina_bench_hash.c
@@ -33,9 +33,7 @@
33# include <Evas.h> 33# include <Evas.h>
34#endif 34#endif
35 35
36#ifdef EINA_BENCH_HAVE_ECORE
37# include <Ecore_Data.h> 36# include <Ecore_Data.h>
38#endif
39 37
40#include "eina_hash.h" 38#include "eina_hash.h"
41#include "eina_array.h" 39#include "eina_array.h"
@@ -332,7 +330,6 @@ eina_bench_lookup_evas(int request)
332#endif 330#endif
333#endif 331#endif
334 332
335#ifdef EINA_BENCH_HAVE_ECORE
336typedef struct _Eina_Bench_Ecore Eina_Bench_Ecore; 333typedef struct _Eina_Bench_Ecore Eina_Bench_Ecore;
337struct _Eina_Bench_Ecore 334struct _Eina_Bench_Ecore
338{ 335{
@@ -379,7 +376,6 @@ eina_bench_lookup_ecore(int request)
379 376
380 ecore_hash_destroy(hash); 377 ecore_hash_destroy(hash);
381} 378}
382#endif
383 379
384void eina_bench_hash(Eina_Benchmark *bench) 380void eina_bench_hash(Eina_Benchmark *bench)
385{ 381{
@@ -395,7 +391,5 @@ void eina_bench_hash(Eina_Benchmark *bench)
395 eina_benchmark_register(bench, "evas-lookup", EINA_BENCHMARK(eina_bench_lookup_evas), 10, 3000, 10); 391 eina_benchmark_register(bench, "evas-lookup", EINA_BENCHMARK(eina_bench_lookup_evas), 10, 3000, 10);
396#endif 392#endif
397#endif 393#endif
398#ifdef EINA_BENCH_HAVE_ECORE
399 eina_benchmark_register(bench, "ecore-lookup", EINA_BENCHMARK(eina_bench_lookup_ecore), 10, 3000, 10); 394 eina_benchmark_register(bench, "ecore-lookup", EINA_BENCHMARK(eina_bench_lookup_ecore), 10, 3000, 10);
400#endif
401} 395}