From 978c99e3d3c6abbd0b938b134c1ca712cd6a7c11 Mon Sep 17 00:00:00 2001 From: David Kaufmann Date: Fri, 4 Nov 2011 23:22:12 +0100 Subject: [PATCH] update test_threads --- openmp/merge/Makefile | 2 +- openmp/{stat/plot.gnu => merge/merge.plt} | 0 openmp/merge/test_threads.sh | 4 +++- 3 files changed, 4 insertions(+), 2 deletions(-) rename openmp/{stat/plot.gnu => merge/merge.plt} (100%) diff --git a/openmp/merge/Makefile b/openmp/merge/Makefile index 1085bf0..33d790e 100644 --- a/openmp/merge/Makefile +++ b/openmp/merge/Makefile @@ -17,4 +17,4 @@ sort: sort.o numlist1.o numlist2.o .PHONY: clean clean: - rm -rf $(OBJECTS) $(BINARIES) + rm -rf $(OBJECTS) $(BINARIES) numlist1.o numlist1.o diff --git a/openmp/stat/plot.gnu b/openmp/merge/merge.plt similarity index 100% rename from openmp/stat/plot.gnu rename to openmp/merge/merge.plt diff --git a/openmp/merge/test_threads.sh b/openmp/merge/test_threads.sh index 597c43e..3b75f6b 100755 --- a/openmp/merge/test_threads.sh +++ b/openmp/merge/test_threads.sh @@ -1,6 +1,6 @@ #!/bin/bash -STATFILE=../stat/merge.dat +STATFILE=merge.dat rm $STATFILE for i in 1 2 4 5 8 10 20 25 40 50 100 125 200 250 500 1000 @@ -8,3 +8,5 @@ do echo -n "$i," >> $STATFILE ./sort -t $i | sed 's/took \([0-9]*\.[0-9]*\) seconds\./\1/' >> $STATFILE done + +gnuplot merge.plt && display merge.png -- 2.43.0