]> mj.ucw.cz Git - libucw.git/blobdiff - debug/sorter/radix-tune-thresh.sh
ucw docs: Array sorter
[libucw.git] / debug / sorter / radix-tune-thresh.sh
index 1c75ed586e54f3a7f1ec581baa2842b349262c8e..71d929b3e316b841ec02d294f500295b3d301d43 100644 (file)
@@ -7,7 +7,7 @@ UCW_PROGNAME="$0"
 
 # Path to Sherlock build directory
 [ -n "$BUILD" ] || BUILD=..
 
 # Path to Sherlock build directory
 [ -n "$BUILD" ] || BUILD=..
-[ -f "$BUILD/lib/sorter/sorter.h" ] || die "BUILD does not point to Sherlock build directory"
+[ -f "$BUILD/ucw/sorter/sorter.h" ] || die "BUILD does not point to Sherlock build directory"
 
 # Find out sort buffer size
 parse-config 'Sorter{##SortBuffer}'
 
 # Find out sort buffer size
 parse-config 'Sorter{##SortBuffer}'
@@ -43,7 +43,7 @@ while [ $SIZE -gt 262144 ] ; do
        echo $SIZE >>tmp/radix-sizes
        for T in $THRS ; do
                log "Trying size $SIZE with threshold $T"
        echo $SIZE >>tmp/radix-sizes
        for T in $THRS ; do
                log "Trying size $SIZE with threshold $T"
-               $BUILD/obj/lib/sorter/sort-test -SSorter.RadixThreshold=$T -s$SIZE -t$TEST -v 2>&1 | tee -a tmp/radix-$T
+               $BUILD/obj/ucw/sorter/sort-test -SSorter.RadixThreshold=$T -s$SIZE -t$TEST -v 2>&1 | tee -a tmp/radix-$T
        done
        SIZE=$(($SIZE/2))
 done
        done
        SIZE=$(($SIZE/2))
 done