Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
439efc3
)
- add something that prints the time every 10,000 creates
author
braam
<braam>
Fri, 8 Nov 2002 00:11:51 +0000
(
00:11
+0000)
committer
braam
<braam>
Fri, 8 Nov 2002 00:11:51 +0000
(
00:11
+0000)
lustre/tests/createmany.c
patch
|
blob
|
history
diff --git
a/lustre/tests/createmany.c
b/lustre/tests/createmany.c
index
27ba3f7
..
4c3bc2a
100644
(file)
--- a/
lustre/tests/createmany.c
+++ b/
lustre/tests/createmany.c
@@
-1,6
+1,7
@@
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <time.h>
#include <errno.h>
#include <string.h>
#include <fcntl.h>
@@
-33,6
+34,8
@@
int main(int argc, char ** argv)
filename, strerror(errno));
break;
}
+ if ( (i%10000) == 0 )
+ printf(" - created %d (time %d)\n", i, time(0));
}
return rc;
}