def define_total(name, description, manager=counters):
 counter = _TotalCounter(name, description)
 manager.register(counter)
 return counter

def define_total ( name , description , manager = counters ) : counter = _TotalCounter ( name , description ) manager . register ( counter ) return counter
creates a performance counter which tracks some cumulative value over the course of the program .