def code_timer(reset=False):
    '''Sets a global variable for tracking the timer accross multiple
    files '''

    global CODE_TIMER
    if reset:
        CODE_TIMER = CodeTimer()
    else:
        if CODE_TIMER is None:
            return CodeTimer()
        else:
            return CODE_TIMER
Sets a global variable for tracking the timer accross multiple
    files