pyleecan.Methods.Output.XOutput.print_memory module¶
- print_memory(self, tab_level=0, detail_level=1, is_print=True)[source]¶
Print an estimation of the memory usage for each property of the object
- Parameters:
self (XOutput) – An XOutput object
tab_level (int) – Number of tab (” “) to add before each line
detail_level (int) – Select how many data to display (0: only object size, 1: object + properties, 2:object + detailed properties)
is_print (bool) – True print, else return str
- Returns:
mem_str – if is_print == False, return the string that descibe the memory usage of the object
- Return type:
str