summaryrefslogtreecommitdiff
path: root/src/benchmarks/eo/eo_bench_callbacks.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-03-01 18:06:28 +0000
committerTom Hacohen <tom@stosb.com>2016-03-03 09:58:08 +0000
commitf21ade6123b9053fca8d1632644c48525a99d6e0 (patch)
treec5eb0445f471d21365a7a5a7b0ec7d279c11b398 /src/benchmarks/eo/eo_bench_callbacks.c
parent3faf3f3fc68a839f06b311c35ba020cb25e7c9c4 (diff)
Automatic migration to Eo4.
I just ran my script (email to follow) to migrate all of the EFL automatically. This commit is *only* the automatic conversion, so it can be easily reverted and re-run.
Diffstat (limited to 'src/benchmarks/eo/eo_bench_callbacks.c')
-rw-r--r--src/benchmarks/eo/eo_bench_callbacks.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/benchmarks/eo/eo_bench_callbacks.c b/src/benchmarks/eo/eo_bench_callbacks.c
index 5f675598f3..ab779f8417 100644
--- a/src/benchmarks/eo/eo_bench_callbacks.c
+++ b/src/benchmarks/eo/eo_bench_callbacks.c
@@ -21,7 +21,7 @@ bench_eo_callbacks_add(int request)
21 21
22 for (i = 0 ; i < request ; i++) 22 for (i = 0 ; i < request ; i++)
23 { 23 {
24 eo_do(obj, eo_event_callback_priority_add(SIMPLE_FOO, (short) i, _cb, NULL)); 24 eo_event_callback_priority_add(obj, SIMPLE_FOO, (short) i, _cb, NULL);
25 } 25 }
26 26
27 eo_unref(obj); 27 eo_unref(obj);
@@ -57,7 +57,7 @@ bench_eo_callbacks_call(int request)
57 57
58 for (j = 0 ; j < i ; j++) 58 for (j = 0 ; j < i ; j++)
59 { 59 {
60 eo_do(obj[i], eo_event_callback_priority_add(SIMPLE_FOO, (short) j, _cb, NULL)); 60 eo_event_callback_priority_add(obj[i], SIMPLE_FOO, (short) j, _cb, NULL);
61 } 61 }
62 } 62 }
63 63
@@ -66,7 +66,7 @@ bench_eo_callbacks_call(int request)
66 for (j = 0 ; j < (int) (distribution[i] * request) ; j++) 66 for (j = 0 ; j < (int) (distribution[i] * request) ; j++)
67 { 67 {
68 /* Miss finding the callbacks on purpose, so we measure worst case scenario. */ 68 /* Miss finding the callbacks on purpose, so we measure worst case scenario. */
69 eo_do(obj[i], eo_event_callback_call(SIMPLE_BAR, NULL)); 69 eo_event_callback_call(obj[i], SIMPLE_BAR, NULL);
70 } 70 }
71 } 71 }
72 72