A context which add the time spent inside to TotalTimer.

def total_timer(msg):
    """ A context which add the time spent inside to TotalTimer. """
    start = timer()
    yield
    t = timer() - start
    _TOTAL_TIMER_DATA[msg].feed(t)