##// END OF EJS Templates
Fix formatting
Douglas Blank -
Show More
@@ -61,6 +61,8 b' if resource is not None and hasattr(resource, "getrusage"):'
61
61
62 Similar to clock(), but return a tuple of user/system times."""
62 Similar to clock(), but return a tuple of user/system times."""
63 return resource.getrusage(resource.RUSAGE_SELF)[:2]
63 return resource.getrusage(resource.RUSAGE_SELF)[:2]
64
65
64 else:
66 else:
65 # There is no distinction of user/system time under windows, so we just use
67 # There is no distinction of user/system time under windows, so we just use
66 # time.perff_counter() for everything...
68 # time.perff_counter() for everything...
General Comments 0
You need to be logged in to leave comments. Login now