summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2008-12-18 16:05:14 +0000
committerroot <root>2008-12-18 16:05:14 +0000
commit2765a97bc918b1ea0c8aff8c66535d34c01a8998 (patch)
treea4f0567d29d028231b9e96f9b91e3d30a92f2f60
parent9ed70a7432cdefeba5dc4d97049b36e8011a4ad9 (diff)
*** empty log message ***
-rw-r--r--Changes2
-rw-r--r--bench.c11
2 files changed, 9 insertions, 4 deletions
diff --git a/Changes b/Changes
index c887bbd..ac57ed3 100644
--- a/Changes
+++ b/Changes
@@ -1,6 +1,6 @@
3.4 Tue Sep 2 06:45:00 CEST 2008
- the fix from 3.3 introduced a compression bug, which is fixed in
- this release (which explains the mysterious prerelease...). thanls
+ this release (which explains the mysterious prerelease...). Thanks
once more to Clément Calmels.
3.3 Mon Aug 25 03:17:42 CEST 2008
diff --git a/bench.c b/bench.c
index 85bd8cd..5888951 100644
--- a/bench.c
+++ b/bench.c
@@ -6,6 +6,7 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
+#include <sys/stat.h>
#include <math.h>
#include <signal.h>
#include <X11/Xlib.h>
@@ -54,6 +55,7 @@ int main(void)
int p[2];
int evfd = eventfd (0, 0);
long ctr = 1;
+ struct stat sbuf;
pipe (p);
@@ -66,12 +68,15 @@ int main(void)
for (lp = 0; lp < 100000; lp++) {
s=stamp();
- snprintf (buf, 64, "<1.%llx>", (unsigned long long)0xa234567812ULL);
+ //snprintf (buf, 64, "<1.%llx>", (unsigned long long)0xa234567812ULL);
+ //getpgrp();
//kill (0, SIGURG);
//write (evfd, &ctr, 8);
//read (evfd, &ctr, 8);
-// write (p[1], &buf, 1);
-// read (p[0], &buf, 4);
+ //write (p[1], &buf, 1);
+ //read (p[0], &buf, 4);
+ //stat ("/etc/passwd", &sbuf);
+ free(malloc(8*1024*1024));
si[0]=measure(s);