def bench (self): now = getrusage.getrusage() return diff_rusage (self.start, now)
def mark (self): self.start = getrusage.getrusage()
def __init__ (self): self.start = getrusage.getrusage()