aboutsummaryrefslogtreecommitdiffstats
path: root/test/testbmk.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-05-09 20:03:19 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-05-09 20:03:19 +0000
commit8650eff40037843143da80e56db72dd60e0e0de1 (patch)
tree9864c79220080f9ecae2598cf0ca9e2b85cfa0dd /test/testbmk.c
parent55e7786c4b5dbf68aded2214449b83bc8e6a9845 (diff)
downloadChibiOS-8650eff40037843143da80e56db72dd60e0e0de1.tar.gz
ChibiOS-8650eff40037843143da80e56db72dd60e0e0de1.tar.bz2
ChibiOS-8650eff40037843143da80e56db72dd60e0e0de1.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@967 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/testbmk.c')
-rw-r--r--test/testbmk.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/test/testbmk.c b/test/testbmk.c
index 3c82c5e0d..151088b6b 100644
--- a/test/testbmk.c
+++ b/test/testbmk.c
@@ -98,7 +98,7 @@ static unsigned int msg_loop_test(Thread *tp) {
static char *bmk1_gettest(void) {
- return "Benchmark, messages, immediate wakeup";
+ return "Benchmark, messages throughput";
}
static void bmk1_execute(void) {
@@ -133,7 +133,7 @@ const struct testcase testbmk1 = {
static char *bmk2_gettest(void) {
- return "Benchmark, messages, late wakeup";
+ return "Benchmark, messages, empty RL";
}
static void bmk2_execute(void) {
@@ -174,7 +174,7 @@ static msg_t thread2(void *p) {
static char *bmk3_gettest(void) {
- return "Benchmark, messages, 4 threads in ready list";
+ return "Benchmark, messages, 4 in RL";
}
static void bmk3_execute(void) {
@@ -255,9 +255,7 @@ static void bmk4_execute(void) {
test_wait_threads();
test_print("--- Score : ");
- test_printn(n);
- test_print(" msgs/S, ");
- test_printn(n << 1);
+ test_printn(n * 2);
test_println(" ctxswc/S");
}