projects
/
libc-test
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bench: pass N as argument, update readme
[libc-test]
/
src
/
stdio
/
bench.c
diff --git
a/src/stdio/bench.c
b/src/stdio/bench.c
index
625a217
..
ade4095
100644
(file)
--- a/
src/stdio/bench.c
+++ b/
src/stdio/bench.c
@@
-4,7
+4,7
@@
#include <string.h>
#include "test.h"
#include <string.h>
#include "test.h"
-void bench_stdio_putcgetc() {
+void bench_stdio_putcgetc(
int N
) {
FILE *f = tmpfile();
size_t i;
size_t cs = 0;
FILE *f = tmpfile();
size_t i;
size_t cs = 0;
@@
-19,7
+19,7
@@
void bench_stdio_putcgetc() {
abort();
}
abort();
}
-void bench_stdio_putcgetc_unlocked() {
+void bench_stdio_putcgetc_unlocked(
int N
) {
FILE *f = tmpfile();
size_t i;
size_t cs = 0;
FILE *f = tmpfile();
size_t i;
size_t cs = 0;