[Swift-commit] r5717 - provenancedb/apps/SciColSim

lgadelha at ci.uchicago.edu lgadelha at ci.uchicago.edu
Fri Mar 16 04:54:51 CDT 2012


Author: lgadelha
Date: 2012-03-16 04:54:50 -0500 (Fri, 16 Mar 2012)
New Revision: 5717

Modified:
   provenancedb/apps/SciColSim/SciColSim_extractor.sh
Log:
Gather multi_loss.


Modified: provenancedb/apps/SciColSim/SciColSim_extractor.sh
===================================================================
--- provenancedb/apps/SciColSim/SciColSim_extractor.sh	2012-03-16 00:12:05 UTC (rev 5716)
+++ provenancedb/apps/SciColSim/SciColSim_extractor.sh	2012-03-16 09:54:50 UTC (rev 5717)
@@ -55,6 +55,12 @@
 			    echo "Annotating function call $PROC_ID with key-value(numeric) pair ('$key', $value)."
 			    $SQLCMD -c "INSERT INTO a_proc_n VALUES ('$PROC_ID', '$key', $value)" 1> /dev/null
 			fi
+			if [ "$value" == "+-" ]; then
+			    echo "Annotating function call $PROC_ID with key-value(numeric) pair ('multi_loss', $key)."
+			    $SQLCMD -c "INSERT INTO a_proc_n VALUES ('$PROC_ID', 'multi_loss', $key)" 1> /dev/null
+			    echo "Annotating function call $PROC_ID with key-value(numeric) pair ('multi_loss_std_dev', $rest)."
+			    $SQLCMD -c "INSERT INTO a_proc_n VALUES ('$PROC_ID', 'multi_loss_std_dev', $rest)" 1> /dev/null			    
+			fi
 		    fi	
 		done < $SCICOLSIM_HOME/$run_dir/$outf
 	    else




More information about the Swift-commit mailing list