Commit 0b36c6df authored by hrchilds's avatar hrchilds

Fix problem where too much work is being done with -never-output-timings


git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@7266 18c085ea-50e0-402c-830e-de6fd14e8384
parent 980133e7
......@@ -633,6 +633,9 @@ TimingsManager::LookupTimer(const std::string &nm)
// Dave Pugmire, Wed Apr 15 08:36:39 EDT 2009
// Force fixed mode output for floating point numbers.
//
// Hank Childs, Fri May 8 15:19:23 PDT 2009
// Add support for "neverOutput".
//
// ****************************************************************************
void
......@@ -645,6 +648,8 @@ TimingsManager::DumpTimings(void)
return;
if (withholdOutput && !outputAllTimings)
return;
if (neverOutput)
return;
if (filename == "")
{
debug1 << "Attempted to DumpTimings without setting name of file" << endl;
......@@ -736,6 +741,9 @@ TimingsManager::StopAllUnstoppedTimers()
// made those handles "dangling pointers". So the timing information
// was frequently wrong.
//
// Hank Childs, Fri May 8 15:19:23 PDT 2009
// Add support for "neverOutput".
//
// ****************************************************************************
void
......@@ -750,6 +758,8 @@ TimingsManager::DumpTimings(ostream &out)
}
if (withholdOutput && !outputAllTimings)
return;
if (neverOutput)
return;
int numT = times.size();
for (int i = 0 ; i < numT ; i++)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment