Adding the ability to disable and enable trace log output.
authorIsaac Dooley <idooley2@illinois.edu>
Tue, 4 Aug 2009 20:48:17 +0000 (20:48 +0000)
committerIsaac Dooley <idooley2@illinois.edu>
Tue, 4 Aug 2009 20:48:17 +0000 (20:48 +0000)
src/ck-perf/trace-projections.C
src/ck-perf/trace-projections.h

index 442755de0882b1a5655a62359abbe01a21dd5ea5..4da120b08baf66d3a82cf378a8eda46385829ab3 100644 (file)
@@ -55,6 +55,11 @@ void disableTraceLogOutput()
   CkpvAccess(_trace)->setWriteData(false);
 }
 
+/// Enable the outputting of the trace logs
+void enableTraceLogOutput()
+{
+  CkpvAccess(_trace)->setWriteData(true);
+}
 
 
 
index dac378f66ecd23f5a502bf3b3724142cf31a5bf1..9f71e1dd65e2486bd50df0a936da1052f3a32311 100644 (file)
@@ -499,6 +499,8 @@ class toProjectionsGZFile : public PUP::er {
 /// Disable the outputting of the trace logs
 void disableTraceLogOutput();
 
+/// Enable the outputting of the trace logs
+void enableTraceLogOutput();
 
 
 #endif