From 91bd22aa5bd49dda3a6deef1184918a7ecef79d1 Mon Sep 17 00:00:00 2001 From: Darren Ranalli Date: Fri, 26 Jul 2002 20:52:59 +0000 Subject: [PATCH] fixed comments --- direct/src/showbase/PythonUtil.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/direct/src/showbase/PythonUtil.py b/direct/src/showbase/PythonUtil.py index 5c885eeb0b..91019ad4b7 100644 --- a/direct/src/showbase/PythonUtil.py +++ b/direct/src/showbase/PythonUtil.py @@ -364,7 +364,8 @@ PyUtilProfileDefaultFilename = 'profiledata' PyUtilProfileDefaultLines = 80 PyUtilProfileDefaultSorts = ['cumulative', 'time', 'calls'] -# first, call this from the prompt +# call this from the prompt, and break back out to the prompt +# to stop profiling def startProfile(filename=PyUtilProfileDefaultFilename, lines=PyUtilProfileDefaultLines, sorts=PyUtilProfileDefaultSorts, @@ -374,7 +375,7 @@ def startProfile(filename=PyUtilProfileDefaultFilename, if not silent: printProfile(filename, lines, sorts) -# finally, break out to the prompt and call this +# call this to see the results again def printProfile(filename=PyUtilProfileDefaultFilename, lines=PyUtilProfileDefaultLines, sorts=PyUtilProfileDefaultSorts,):