summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortasn <tasn>2012-09-03 07:27:01 +0000
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2012-09-03 07:27:01 +0000
commit697bc9d8b649e9707acc82eb41820fa8aaeb3d44 (patch)
tree3e1353583a730535932f46d66faeddab89b53415
parent190a6714c6c48005d69bef159bb23c5a0c0ee676 (diff)
downloadeobj-697bc9d8b649e9707acc82eb41820fa8aaeb3d44.tar.gz
eobj-697bc9d8b649e9707acc82eb41820fa8aaeb3d44.tar.bz2
eobj-697bc9d8b649e9707acc82eb41820fa8aaeb3d44.zip
Eo: Made benchmarking output a bit nicer.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@75961 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
-rw-r--r--src/benchmarks/CMakeLists.txt2
-rw-r--r--src/benchmarks/eo_bench.c2
-rw-r--r--src/benchmarks/eo_bench_eo_do.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/benchmarks/CMakeLists.txt b/src/benchmarks/CMakeLists.txt
index 84529d9..056cb33 100644
--- a/src/benchmarks/CMakeLists.txt
+++ b/src/benchmarks/CMakeLists.txt
@@ -21,6 +21,6 @@ target_link_libraries(eo_bench
add_dependencies(eo_bench eo)
get_target_property(eo_bench_EXEC_FILE eo_bench LOCATION)
-add_custom_target(benchmark COMMAND ${eo_bench_EXEC_FILE} eo_bench)
+add_custom_target(benchmark COMMAND ${eo_bench_EXEC_FILE} eo)
add_dependencies(benchmark eo_bench)
diff --git a/src/benchmarks/eo_bench.c b/src/benchmarks/eo_bench.c
index 580f744..dd6af6e 100644
--- a/src/benchmarks/eo_bench.c
+++ b/src/benchmarks/eo_bench.c
@@ -17,7 +17,7 @@ struct _Eina_Benchmark_Case
};
static const Eina_Benchmark_Case etc[] = {
- { "Eo_Do", eo_bench_eo_do },
+ { "eo_do", eo_bench_eo_do },
{ NULL, NULL }
};
diff --git a/src/benchmarks/eo_bench_eo_do.c b/src/benchmarks/eo_bench_eo_do.c
index 2b1991f..a919061 100644
--- a/src/benchmarks/eo_bench_eo_do.c
+++ b/src/benchmarks/eo_bench_eo_do.c
@@ -22,6 +22,6 @@ bench_eo_do_general(int request)
void eo_bench_eo_do(Eina_Benchmark *bench)
{
- eina_benchmark_register(bench, "general",
+ eina_benchmark_register(bench, "various",
EINA_BENCHMARK(bench_eo_do_general), 100, 10000, 500);
}