usttrace: add nanoseconds to traceset directory name
authorPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Sat, 27 Feb 2010 17:30:48 +0000 (12:30 -0500)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Mon, 1 Mar 2010 18:30:59 +0000 (13:30 -0500)
Without this, the test scripts may create two traces simultaneously,
resulting in two sets of traces in the same directory

usttrace

index b14b4a9cd08ef9adfd911c84fd6b48c4126aae60..b28a8d018609e4a80bec867afac0e34c6d81a7f7 100755 (executable)
--- a/usttrace
+++ b/usttrace
@@ -96,7 +96,7 @@ then
 fi
 
 # Create directory for trace output
-DATESTRING="$(hostname)-$(date +%Y%m%d%H%M%S)"
+DATESTRING="$(hostname)-$(date +%Y%m%d%H%M%S%N)"
 OUTDIR="$BASE_TRACE_DIR/$DATESTRING"
 mkdir -p "$OUTDIR"
 
This page took 0.025331 seconds and 4 git commands to generate.