diff options
| author | seyko <seyko2@gmail.com> | 2015-05-12 22:02:51 +0300 |
|---|---|---|
| committer | seyko <seyko2@gmail.com> | 2015-05-12 22:02:51 +0300 |
| commit | cf92f7aacbc9e3c828e6a1b68eed6a87d0cf88bd (patch) | |
| tree | ba6a1ea0a69c57391eab4e40f09947e2ed96c4c0 /libtcc.c | |
| parent | 06e0753fce99d4b845c054ce343f49149522ff2c (diff) | |
| download | tinycc-cf92f7aacbc9e3c828e6a1b68eed6a87d0cf88bd.tar.gz tinycc-cf92f7aacbc9e3c828e6a1b68eed6a87d0cf88bd.tar.bz2 | |
some -bench fixes
print stats to stderr, not to stdout
Diffstat (limited to 'libtcc.c')
| -rw-r--r-- | libtcc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2282,7 +2282,7 @@ PUB_FUNC void tcc_print_stats(TCCState *s, int64_t total_time) tt = 0.001; if (total_bytes < 1) total_bytes = 1; - printf("%d idents, %d lines, %d bytes, %0.3f s, %d lines/s, %0.1f MB/s\n", + fprintf(stderr, "%d idents, %d lines, %d bytes, %0.3f s, %d lines/s, %0.1f MB/s\n", tok_ident - TOK_IDENT, total_lines, total_bytes, tt, (int)(total_lines / tt), total_bytes / tt / 1000000.0); |
