X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=ucw%2Fsorter%2Fdebug%2Fradix-tune-thresh.sh;h=387d22184240fab8407fce021f51340438759135;hb=d661e61c3019201dddd5d870ff9aabf23ec7e2f2;hp=71d929b3e316b841ec02d294f500295b3d301d43;hpb=44feaeb65636c36e71fa1fd79710aa746867c17e;p=libucw.git diff --git a/ucw/sorter/debug/radix-tune-thresh.sh b/ucw/sorter/debug/radix-tune-thresh.sh index 71d929b3..387d2218 100644 --- a/ucw/sorter/debug/radix-tune-thresh.sh +++ b/ucw/sorter/debug/radix-tune-thresh.sh @@ -1,13 +1,13 @@ #!/bin/bash -# An utility for tuning the Sherlock's radix sorter threshold +# An utility for tuning the LibUCW radix sorter threshold # (c) 2007 Martin Mares set -e UCW_PROGNAME="$0" . lib/libucw.sh -# Path to Sherlock build directory +# Path to LibUCW build directory [ -n "$BUILD" ] || BUILD=.. -[ -f "$BUILD/ucw/sorter/sorter.h" ] || die "BUILD does not point to Sherlock build directory" +[ -f "$BUILD/ucw/sorter/sorter.h" ] || die "BUILD does not point to LibUCW build directory" # Find out sort buffer size parse-config 'Sorter{##SortBuffer}' @@ -16,7 +16,7 @@ SORTBUF=$CF_Sorter_SortBuffer log "Detected sort buffer size $SORTBUF" # Find out radix-sorter width -[ -f "$BUILD/obj/config.mk" ] || die "Sherlock source not configured" +[ -f "$BUILD/obj/config.mk" ] || die "LibUCW source not configured" WIDTH=`sed <$BUILD/obj/config.mk 's/^CONFIG_UCW_RADIX_SORTER_BITS=\(.*\)/\1/;t;d'` [ -n "$WIDTH" ] || die "CONFIG_UCW_RADIX_SORTER_BITS not set (!?)" log "Detected radix-sorter width $WIDTH"