From: Dan White Date: Tue, 15 Nov 2016 19:46:24 +0000 (-0600) Subject: better timeSampler system X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=690478d4084f9d573072c805fbe93543ac959181;p=pubbin.git better timeSampler system --- diff --git a/TimeSampleHistogram b/TimeSampleHistogram index deb6c87..1642dc7 100755 --- a/TimeSampleHistogram +++ b/TimeSampleHistogram @@ -146,7 +146,8 @@ else: # files = [f for f in os.listdir(os.environ['HOME']) if f.startswith('.timeSampler') and not - (f.endswith('.gz') + (f.endswith('.pid') + or f.endswith('.gz') or f.endswith('.all') or f.endswith('.tmp'))] diff --git a/cleanup-timesamples b/cleanup-timesamples index 364efca..5e4ff4b 100755 --- a/cleanup-timesamples +++ b/cleanup-timesamples @@ -13,7 +13,7 @@ TMPFILE="$SAMPLES.tmp" if [ "$1" = "-s" ]; then echo "Sorting entries first." - sleep 0.3 + sleep 0.05 sort -u $SAMPLES > $TMPFILE cp $TMPFILE $SAMPLES shift