def lastdiff(self):
        """ Get time difference between now and the latest marked slot """

        # To get the latest slot, just get the max of values
        return time.time() - max(self.timedict.values())
 Get time difference between now and the latest marked slot 
recipes/Python/496938_A_basic_time_profiler/recipe-496938.py