#NEWLINE# @ classmethod #NEWLINE# def create( cls , user_data_callback = None ) : #NEWLINE# #INDENT# timestamp = _get_timestamp ( ) #NEWLINE# stats = _get_stats ( ) #NEWLINE# pid = os . getpid ( ) #NEWLINE# process_memory = get_process_memory ( ) #NEWLINE# if ( user_data_callback is not None ) : #NEWLINE# #INDENT# user_data = user_data_callback ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# user_data = None #NEWLINE# #UNINDENT# return cls ( stats , timestamp , pid , process_memory , user_data )