[asterisk-commits] russell: branch russell/heap r175774 - /team/russell/heap/tests/test_sched.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Feb 14 15:39:09 CST 2009


Author: russell
Date: Sat Feb 14 15:39:09 2009
New Revision: 175774

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=175774
Log:
Report test results in us instead of ms

Modified:
    team/russell/heap/tests/test_sched.c

Modified: team/russell/heap/tests/test_sched.c
URL: http://svn.digium.com/svn-view/asterisk/team/russell/heap/tests/test_sched.c?view=diff&rev=175774&r1=175773&r2=175774
==============================================================================
--- team/russell/heap/tests/test_sched.c (original)
+++ team/russell/heap/tests/test_sched.c Sat Feb 14 15:39:09 2009
@@ -86,7 +86,7 @@
 		}
 	}
 
-	ast_cli(a->fd, "Test complete - %d ms\n", ast_tvdiff_ms(ast_tvnow(), start));
+	ast_cli(a->fd, "Test complete - %ld us\n", ast_tvdiff_us(ast_tvnow(), start));
 
 	ast_cli(a->fd, "Testing ast_sched_del() performance - timing how long it takes "
 			"to delete %u entries with random time intervals from 0 to 60 seconds\n", num);
@@ -100,7 +100,7 @@
 		}
 	}
 
-	ast_cli(a->fd, "Test complete - %d ms\n", ast_tvdiff_ms(ast_tvnow(), start));
+	ast_cli(a->fd, "Test complete - %ld us\n", ast_tvdiff_us(ast_tvnow(), start));
 
 return_cleanup:
 	sched_context_destroy(con);




More information about the asterisk-commits mailing list