diff options
author | timbray@gmail.com <timbray@gmail.com@db4e408a-c037-0410-815c-5f4d545c29e3> | 2012-11-06 19:02:23 +0000 |
---|---|---|
committer | timbray@gmail.com <timbray@gmail.com@db4e408a-c037-0410-815c-5f4d545c29e3> | 2012-11-06 19:02:23 +0000 |
commit | ec9fc52bee7eb588fd9880213e30fe1b435f2ba6 (patch) | |
tree | c6e69ac15d78ffc830d2591eec335c2949524e4c | |
parent | 259bec45d881bc81220c60a9f69a2e9767bddc2a (diff) | |
download | bonnie-ec9fc52bee7eb588fd9880213e30fe1b435f2ba6.tar.gz |
Fixed up some output formatting
git-svn-id: http://bonnie-64.googlecode.com/svn/trunk@3 db4e408a-c037-0410-815c-5f4d545c29e3
-rw-r--r-- | Bonnie.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -451,7 +451,7 @@ write_html_head() printf("<td></td><td></td>"); printf(TABLE_STYLE, 6, 1, "Sequential Output"); printf(TABLE_STYLE, 4, 1, "Sequential Input"); - printf(TABLE_STYLE, 2, 1, "Random"); + printf(TABLE_STYLE, 2, 2, "Random Seeks"); printf("\n</tr>\n"); printf("<tr>\n"); @@ -461,7 +461,6 @@ write_html_head() printf(TABLE_STYLE, 2, 1, "Rewrite"); printf(TABLE_STYLE, 2, 1, "Per Char"); printf(TABLE_STYLE, 2, 1, "Block"); - printf(TABLE_STYLE, 2, 1, "Seeks"); printf("\n</tr>\n"); printf("<tr>\n"); @@ -488,7 +487,7 @@ write_html( off_t size) { write_html_head(); - printf("<tr>\n<td>%s</td><td>%d</td>", machine, size / (1024 * 1024)); + printf("<tr>\n<td>%s</td><td>%ld</td>", machine, (long)(size / (1024 * 1024))); printf("<td>%d</td><td>%4.1f</td><td>%d</td><td>%4.1f</td><td>%d</td><td>%4.1f</td>", (int) (((double) size) / (delta[(int) Putc][Elapsed] * 1024.0)), delta[(int) Putc][CPU] / delta[(int) Putc][Elapsed] * 100.0, |