diff options
Diffstat (limited to 'Old/profilertest.py')
-rwxr-xr-x | Old/profilertest.py | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/Old/profilertest.py b/Old/profilertest.py deleted file mode 100755 index 3df262b..0000000 --- a/Old/profilertest.py +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/python - -import time - -from Framework.Core.Profiler import TaskProfiler - -TP = TaskProfiler() - - -for j in range(1,10): - t1 = time.time() - TP.ProfileBegin( "test" ) - print time.time() - t1 - for i in range(1,100000):i=i - t1 = time.time() - TP.ProfileEnd( "test" ) - print time.time() - t1 - -TP.ProfileBegin( "alah" ) -for i in range(1,100000):j=i -TP.ProfileEnd("alah") -TP.ProfileBegin( "blah" ) -for i in range(1,100000):j=i -TP.ProfileEnd("blah") - -print TP.ProfilePrint( "test" ) - -print TP.PrintAll() |