print the time of the test.

This commit is contained in:
nvt-se 2009-04-03 11:12:17 +00:00
parent 4f41b30b2b
commit d936dc1d09

View File

@ -28,7 +28,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: test-coffee.c,v 1.9 2009/02/27 14:28:02 nvt-se Exp $
* $Id: test-coffee.c,v 1.10 2009/04/03 11:12:17 nvt-se Exp $
*/
/**
@ -309,11 +309,15 @@ end:
/*---------------------------------------------------------------------------*/
PROCESS_THREAD(testcoffee_process, ev, data)
{
int start;
PROCESS_BEGIN();
start = clock_seconds();
printf("Coffee format: %d\n", cfs_coffee_format());
printf("Coffee file test: %d\n", coffee_file_test());
printf("Coffee garbage collection test: %d\n", coffee_gc_test());
printf("Test time: %d seconds\n", clock_seconds() - start);
PROCESS_END();
}