#NEWLINE# def __init__( self , monitor_pid , interval , pipe , max_usage = False , * args , **kw ) : #NEWLINE# #INDENT# self . monitor_pid = monitor_pid #NEWLINE# self . interval = interval #NEWLINE# self . pipe = pipe #NEWLINE# self . cont = True #NEWLINE# self . max_usage = max_usage #NEWLINE# self . n_measurements = 1 #NEWLINE# self . timestamps = kw . pop ( 'timestamps' , False ) #NEWLINE# self . include_children = kw . pop ( 'include_children' , False ) #NEWLINE# self . mem_usage = [ _get_memory ( self . monitor_pid , timestamps = self . timestamps , include_children = self . include_children ) ] #NEWLINE# super ( MemTimer , self ) . __init__ ( * max_usage , ** kw )