def tac(self):

        import time

        if self.start is None:
            raise Exception("tac() without tic()")

        t = time.time()
        elapsed = t-self.last
        self.last = t

        print("TAC: Elapsed: {} seconds.".format(elapsed))
        return elapsed
Returns and prints time elapsed since last tic()
dataset/ETHPy150Open QuantEcon/QuantEcon.py/quantecon/util/timing.py/__Timer__.tac