diff options
author | Paul Selkirk <paul@psgd.org> | 2015-11-01 14:34:31 -0500 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2015-11-01 14:34:31 -0500 |
commit | 5704540e425105d3bfa5ebc378743d7ea8adf46a (patch) | |
tree | cc9720142c8475f25db6f483f9bf103a63773758 | |
parent | 5349ac4c841e4ab071144e3430888fd7911194cb (diff) |
fix display of read/write times
-rw-r--r-- | self-test/fmc-perf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/self-test/fmc-perf.c b/self-test/fmc-perf.c index f0185a0..9dd623e 100644 --- a/self-test/fmc-perf.c +++ b/self-test/fmc-perf.c @@ -58,9 +58,9 @@ static void _time_check(char *label, const uint32_t t0) uart_send_string(label); uart_send_integer(t / 1000, 0); uart_send_char('.'); - uart_send_integer(t % 1000, 999); + uart_send_integer(t % 1000, 100); uart_send_string(" seconds, "); - uart_send_integer((1000 * TEST_NUM_ROUNDS) / t, 0); + uart_send_integer(((1000 * TEST_NUM_ROUNDS) / t), 0); uart_send_string("/sec\r\n"); } |