logging slows the timer down very much
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Fri, 3 Mar 2006 05:44:21 +0000 (05:44 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Fri, 3 Mar 2006 05:44:21 +0000 (05:44 +0000)
RecordTimer.py

index 2fb923ba604bd43bec35e68e2afba0a0987419e6..3d9ff8ef394f57d9ba29ba81a7ef983bc7b3accb 100644 (file)
@@ -303,13 +303,13 @@ class RecordTimer(timer.Timer):
                        list.append(' disabled="' + str(int(timer.disabled)) + '"')
                        list.append('>\n')
                        
                        list.append(' disabled="' + str(int(timer.disabled)) + '"')
                        list.append('>\n')
                        
-                       for time, code, msg in timer.log_entries:
-                               list.append('<log')
-                               list.append(' code="' + str(code) + '"')
-                               list.append(' time="' + str(time) + '"')
-                               list.append('>')
-                               list.append(str(msg))
-                               list.append('</log>\n')
+                       #for time, code, msg in timer.log_entries:
+                               #list.append('<log')
+                               #list.append(' code="' + str(code) + '"')
+                               #list.append(' time="' + str(time) + '"')
+                               #list.append('>')
+                               #list.append(str(msg))
+                               #list.append('</log>\n')
 
                        
                        list.append('</timer>\n')
 
                        
                        list.append('</timer>\n')