diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2013-08-14 14:33:29 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2013-08-14 14:33:29 +0200 |
commit | 99f4a131782cd29fa18e2aaa8bc22da3d7da6d68 (patch) | |
tree | 92c7c56e2259026edae96f68465a5b19ffdf01fe | |
parent | 40884a0698577db6e85aa1fd5c7ff4cede3cb886 (diff) | |
download | efl-99f4a131782cd29fa18e2aaa8bc22da3d7da6d68.tar.gz |
printf test title
-rw-r--r-- | eo2test/eo2-bench.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/eo2test/eo2-bench.c b/eo2test/eo2-bench.c index c306e76a65..4ae8796d51 100644 --- a/eo2test/eo2-bench.c +++ b/eo2test/eo2-bench.c @@ -67,7 +67,7 @@ run_batch(const char *title, Eo* eo_obj, Eo* eo2_obj, int n) else eo1 = EINA_TRUE; - printf("\n%s - %d calls\ncalls/eo_do() EO [ms] [ns]/call - EO2 [ms] [ns]/call\n", title, n); + printf("%s - %d calls\ncalls/eo_do() EO [ms] [ns]/call - EO2 [ms] [ns]/call\n", title, n); /* 1 call per batch */ k = 1; @@ -136,6 +136,8 @@ do_batch_test() int a, b, c; Eo *eo_obj, *eo2_obj; + printf("\n *** do_batch_test\n"); + eo_obj = eo_add(EO_SIMPLE_CLASS, NULL); eo2_obj = eo2_add_custom(EO2_SIMPLE_CLASS, NULL, eo2_simple_constructor(66)); @@ -172,6 +174,8 @@ override_batch_test() int a, b; Eo *eo_obj, *eo2_obj; + printf("\n *** override_batch_test\n"); + a = b = 0; eo_obj = eo_add(EO_INHERIT_CLASS, NULL); eo2_obj = eo2_add(EO2_INHERIT_CLASS, NULL); @@ -204,6 +208,8 @@ virtual_test() int a; Eo *eo2_obj; + printf("\n *** virtual_test\n"); + a = 0; eo2_obj = eo2_add_custom(EO2_SIMPLE_CLASS, NULL, eo2_simple_constructor(66)); eo2_do(eo2_obj, a = eo2_virtual(10); ); @@ -232,6 +238,8 @@ cleanup_test() int a; Eo *eo2_obj; + printf("\n *** cleanup_test\n"); + eo2_obj = eo2_add_custom(EO2_SIMPLE_CLASS, NULL, eo2_simple_constructor(66)); /* break */ |