better timeSampler system
authorDan White <dan@whiteaudio.com>
Tue, 15 Nov 2016 19:46:24 +0000 (13:46 -0600)
committerDan White <dan@whiteaudio.com>
Tue, 15 Nov 2016 19:46:24 +0000 (13:46 -0600)
TimeSampleHistogram
cleanup-timesamples

index deb6c8714da4addfc69e3ac5177b53f87aa4c704..1642dc7f85516314e4372e5df5cb26be8c64ad94 100755 (executable)
@@ -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'))]
 
index 364efca986d4893a14a51f34cfb1df381b071bf9..5e4ff4b4166e95d7c842b6d1e7414efe6d33cdc2 100755 (executable)
@@ -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