fixed configs for frame profiling

This commit is contained in:
Darren Ranalli 2008-10-30 23:54:34 +00:00
parent 1ccecd7231
commit 8e1f95d480
2 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@ class TaskManager:
self._profileTasks = StateVar(False)
self.setProfileTasks(ConfigVariableBool('profile-task-spikes', 0).getValue())
self._profileFrames = StateVar(False)
self.setProfileFrames(ConfigVariableBool('profile-frame-spikes', 0).getValue())
self.setProfileFrames(ConfigVariableBool('profile-frames', 0).getValue())
def destroy(self):
# This should be safe to call multiple times.

View File

@ -1198,7 +1198,7 @@ class TaskManager:
self._profileTasks = StateVar(False)
self.setProfileTasks(getBase().config.GetBool('profile-task-spikes', 0))
self._profileFrames = StateVar(False)
self.setProfileFrames(ConfigVariableBool('profile-frame-spikes', 0).getValue())
self.setProfileFrames(ConfigVariableBool('profile-frames', 0).getValue())
# Set the clock to have last frame's time in case we were
# Paused at the prompt for a long time