From: Peizhao Ou Date: Wed, 10 Sep 2014 16:00:33 +0000 (-0700) Subject: clean up X-Git-Url: http://demsky.eecs.uci.edu/git/?p=model-checker-benchmarks.git;a=commitdiff_plain;h=430eca5dcc20bfc89edac5c134d1c8af7a9614bc clean up --- diff --git a/Makefile b/Makefile index 662ebce..e988a49 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,5 @@ DIRS := barrier mcs-lock mpmc-queue spsc-queue spsc-bugfix linuxrwlocks \ - dekker-fences chase-lev-deque ms-queue chase-lev-deque-bugfix seqlock \ - cliffc-hashtable treiber-stack + dekker-fences chase-lev-deque ms-queue chase-lev-deque-bugfix .PHONY: $(DIRS) diff --git a/benchmarks.mk b/benchmarks.mk index 4f0031f..7f82f92 100644 --- a/benchmarks.mk +++ b/benchmarks.mk @@ -8,8 +8,7 @@ UNAME = $(shell uname) LIB_NAME = model LIB_SO = lib$(LIB_NAME).so -#BASE = ../.. -BASE = $(CDS_DIR) +BASE = ../.. INCLUDE = -I$(BASE)/include -I../include # C preprocessor flags diff --git a/build.sh b/build.sh deleted file mode 100755 index d78b2e0..0000000 --- a/build.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -CHECKER_DIR=~/model-checker-priv/model-checker-priv - -if [ -z $1 ] ; then - echo "Use default CDS checker directory" -else - CHECKER_DIR=$1 -fi - -make CDS_DIR=$CHECKER_DIR diff --git a/seqlock/seqlock b/seqlock/seqlock deleted file mode 100755 index 32a01ab..0000000 Binary files a/seqlock/seqlock and /dev/null differ diff --git a/spsc-bugfix/spsc-queue.cc b/spsc-bugfix/spsc-queue.cc index f8528a8..ada08ec 100644 --- a/spsc-bugfix/spsc-queue.cc +++ b/spsc-bugfix/spsc-queue.cc @@ -6,6 +6,7 @@ spsc_queue *q; void thread(unsigned thread_index) { + for (int i = 0; i < 40; i++) { if (0 == thread_index) { q->enqueue(11); @@ -15,6 +16,7 @@ spsc_queue *q; int d = q->dequeue(); RL_ASSERT(11 == d); } + } } int user_main(int argc, char **argv)