main
phani 5 years ago
parent 611ec2257a
commit 5016942e3f

@ -6,8 +6,8 @@
"argsize" : 1, "argsize" : 1,
"http-req-headers" : [ ], "http-req-headers" : [ ],
"http-req-content-type" : "text/plain", "http-req-content-type" : "text/plain",
"http-req-size": 1048576, "http-req-size": 1024,
"http-resp-headers" : [ ], "http-resp-headers" : [ ],
"http-resp-size" : 1048776, "http-resp-size" : 1024,
"http-resp-content-type" : "text/plain" "http-resp-content-type" : "text/plain"
} }

@ -6,8 +6,8 @@
"argsize" : 1, "argsize" : 1,
"http-req-headers" : [ ], "http-req-headers" : [ ],
"http-req-content-type" : "text/plain", "http-req-content-type" : "text/plain",
"http-req-size": 10485760, "http-req-size": 1048576,
"http-resp-headers" : [ ], "http-resp-headers" : [ ],
"http-resp-size" : 10487760, "http-resp-size" : 1048776,
"http-resp-content-type" : "text/plain" "http-resp-content-type" : "text/plain"
} }

@ -3,7 +3,7 @@
#include <string.h> #include <string.h>
#define CPU_CYCS 2100 #define CPU_CYCS 2100
#define MAX_BUF (1024*1024) //1m #define MAX_BUF (1024*1024*1) //1m
#define ITERS_15US 125500 #define ITERS_15US 125500
#define MULTIPLE 5 #define MULTIPLE 5
@ -34,7 +34,7 @@ main(void)
// if (r <= 0) printf("%llu\n", en > st ? (en - st)/CPU_CYCS : -1); // if (r <= 0) printf("%llu\n", en > st ? (en - st)/CPU_CYCS : -1);
if (r < 0) printf("E\n"); if (r < 0) printf("E\n");
else if (r == 0) printf("hello\n"); else if (r <= 1) printf("D\n");
else write(1, d, r); else write(1, d, r);
return 0; return 0;

Loading…
Cancel
Save