edits
authorweiyu <weiyuluo1232@gmail.com>
Sat, 12 Dec 2020 00:09:24 +0000 (16:09 -0800)
committerweiyu <weiyuluo1232@gmail.com>
Sat, 12 Dec 2020 00:09:24 +0000 (16:09 -0800)
cdschecker_modified_benchmarks/ms-queue/Makefile
gdax-orderbook-hpp/demo/demo.cpp
run [deleted file]

index c42add1410faa8aa1b32f1919fd60371419d59ab..f2a14efb7d4efde60c8084dc21c21ac15956ec4e 100644 (file)
@@ -5,7 +5,7 @@ TESTNAME = ms-queue
 HEADERS = my_queue.h
 OBJECTS = main.o my_queue.o
 
-CXXFLAGS += -I /scratch/fuzzer/random-fuzzer/include 
+CXXFLAGS += -I /home/vagrant/c11tester/include
 
 all: $(TESTNAME)
 
index bcef9f2284603f5f4c4808b7cf30b65224434dc1..9ab247bad7061b0fd8b18987c37d497aafed0593 100644 (file)
@@ -6,8 +6,8 @@
 
 #include "gdax-orderbook.hpp"
 
-#define FACTOR 125
-#define HIST_SIZE 60
+#define FACTOR 500
+#define HIST_SIZE 40
 
 std::atomic<bool> stop;
 
@@ -111,9 +111,9 @@ int main(int argc, char* argv[]) {
     for ( int i=0 ; i < HIST_SIZE ; ++i )
     {
         std::cout
-            << std::right << std::setw(5) << std::setfill(' ') << i*FACTOR / 1000.0
+            << std::right << std::setw(4) << std::setfill(' ') << i*FACTOR / 1000.0
             << "-"
-            << std::right << std::setw(5) << std::setfill(' ') << (i+1)*FACTOR / 1000.0 - 0.001
+            << std::right << std::setw(4) << std::setfill(' ') << (i+1)*FACTOR / 1000.0 - 0.01
             << " s: ";
         std::cout << histogram[i] << "\n";
 /*
diff --git a/run b/run
deleted file mode 100755 (executable)
index 6b39777..0000000
--- a/run
+++ /dev/null
@@ -1 +0,0 @@
-export LD_LIBRARY_PATH=/scratch/fuzzer/random-fuzzer/