summaryrefslogtreecommitdiff
path: root/src/benchmarks/eo/eo_bench_eo_add.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/benchmarks/eo/eo_bench_eo_add.c')
-rw-r--r--src/benchmarks/eo/eo_bench_eo_add.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/benchmarks/eo/eo_bench_eo_add.c b/src/benchmarks/eo/eo_bench_eo_add.c
index 7bd10d8109..963cd3abb9 100644
--- a/src/benchmarks/eo/eo_bench_eo_add.c
+++ b/src/benchmarks/eo/eo_bench_eo_add.c
@@ -12,7 +12,7 @@ bench_efl_add_linear(int request)
int i;
Eo **objs = calloc(request, sizeof(Eo *));
for (i = 0 ; i < request ; i++)
- objs[i] = efl_add(SIMPLE_CLASS, NULL);
+ objs[i] = efl_add_ref(SIMPLE_CLASS, NULL);
for (i = 0 ; i < request ; i++)
efl_unref(objs[i]);
@@ -25,13 +25,13 @@ bench_efl_add_jump_by_2(int request)
int i;
Eo **objs = calloc(request, sizeof(Eo *));
for (i = 0 ; i < request ; i++)
- objs[i] = efl_add(SIMPLE_CLASS, NULL);
+ objs[i] = efl_add_ref(SIMPLE_CLASS, NULL);
for (i = 0 ; i < request ; i += 2)
efl_unref(objs[i]);
for (i = 0 ; i < request ; i += 2)
- objs[i] = efl_add(SIMPLE_CLASS, NULL);
+ objs[i] = efl_add_ref(SIMPLE_CLASS, NULL);
for (i = 0 ; i < request ; i++)
efl_unref(objs[i]);