Browse Source

increased spike threshold to 10x

Darren Ranalli 17 years ago
parent
commit
92acaa949a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/task/TaskProfiler.py

+ 1 - 1
direct/src/task/TaskProfiler.py

@@ -46,7 +46,7 @@ class TaskProfiler:
         # number of samples required before spikes start getting identified
         # number of samples required before spikes start getting identified
         self._minSamples = config.GetInt('profile-task-spike-min-samples', 30)
         self._minSamples = config.GetInt('profile-task-spike-min-samples', 30)
         # defines spike as longer than this multiple of avg task duration
         # defines spike as longer than this multiple of avg task duration
-        self._spikeThreshold = config.GetFloat('profile-task-spike-threshold', 5.)
+        self._spikeThreshold = config.GetFloat('profile-task-spike-threshold', 10.)
         # assign getProfileResultString to the taskMgr here, since Task.py can't import PythonUtil
         # assign getProfileResultString to the taskMgr here, since Task.py can't import PythonUtil
         taskMgr._getProfileResultString = getProfileResultString
         taskMgr._getProfileResultString = getProfileResultString