From: weiyu Date: Sat, 12 Dec 2020 00:09:24 +0000 (-0800) Subject: edits X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bb5c4020cf1370b516c2cfa38e3378422f74ded8;p=c11concurrency-benchmarks.git edits --- diff --git a/cdschecker_modified_benchmarks/ms-queue/Makefile b/cdschecker_modified_benchmarks/ms-queue/Makefile index c42add1..f2a14ef 100644 --- a/cdschecker_modified_benchmarks/ms-queue/Makefile +++ b/cdschecker_modified_benchmarks/ms-queue/Makefile @@ -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) diff --git a/gdax-orderbook-hpp/demo/demo.cpp b/gdax-orderbook-hpp/demo/demo.cpp index bcef9f2..9ab247b 100644 --- a/gdax-orderbook-hpp/demo/demo.cpp +++ b/gdax-orderbook-hpp/demo/demo.cpp @@ -6,8 +6,8 @@ #include "gdax-orderbook.hpp" -#define FACTOR 125 -#define HIST_SIZE 60 +#define FACTOR 500 +#define HIST_SIZE 40 std::atomic 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 index 6b39777..0000000 --- a/run +++ /dev/null @@ -1 +0,0 @@ -export LD_LIBRARY_PATH=/scratch/fuzzer/random-fuzzer/