#NEWLINE# def __init__( self , start_time ) : #NEWLINE# #INDENT# self . window_start = start_time #NEWLINE# self . _adder = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . _max_updater = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for ( name , event ) in RollingNumberEvent . __members__ . items ( ) : #NEWLINE# #INDENT# if event . is_counter ( ) : #NEWLINE# #INDENT# self . _adder [ event . name ] = LongAdder ( ) #NEWLINE# #UNINDENT# #UNINDENT# for ( name , event ) in RollingNumberEvent . __members__ . items ( ) : #NEWLINE# #INDENT# if event . is_max_updater ( ) : #NEWLINE# #INDENT# self . _max_updater [ event . name ] = LongMaxUpdater ( )