Author: justi9
Date: 2007-10-13 14:57:52 -0400 (Sat, 13 Oct 2007)
New Revision: 1047
Modified:
mgmt/cumin/python/wooly/__init__.py
Log:
Use clock() instead of time for WidgetCall entry and exit.
Modified: mgmt/cumin/python/wooly/__init__.py
===================================================================
--- mgmt/cumin/python/wooly/__init__.py 2007-10-13 18:56:00 UTC (rev 1046)
+++ mgmt/cumin/python/wooly/__init__.py 2007-10-13 18:57:52 UTC (rev 1047)
@@ -2,8 +2,7 @@
from cStringIO import StringIO
from urllib import quote, unquote
from copy import copy
-# XXX use clock instead
-from time import time
+from time import clock
from datetime import datetime
from resources import ResourceFinder, StringCatalog
@@ -711,10 +710,10 @@
self.stack.append(self)
- self.start = time()
+ self.start = clock()
def close(self):
- self.end = time()
+ self.end = clock()
if len(self.stack) > 1:
self.stack.pop()
Show replies by date