Source

pypy / pypy / translator / goal / timing.py

Diff from to

pypy/translator/goal/timing.py

 
-""" Module for keeping detailed informations about
+""" Module for keeping detailed information about
 times of certain driver parts
 """
 
         self.tk = now
 
     def ttime(self):
-        return self.tk - self.t0
+        try:
+            return self.tk - self.t0
+        except AttributeError:
+            return 0.0
 
     def pprint(self):
         """ Pretty print