PyTimeloop
|
Public Member Functions | |
__init__ (self, *args, **kwargs) | |
combine_per_component_area_energy (self, List[str] from_keys, str to) | |
Combine the area and energy of multiple components into a single component. | |
combine_per_component_area (self, List[str] from_keys, str to) | |
Combine the area of multiple components into a single component. | |
combine_per_component_energy (self, List[str] from_keys, str to) | |
Combine the energy of multiple components into a single component. | |
OutputStats | aggregate (self) |
Aggregate the OutputStats objects in the list. | |
"OutputStatsList" | aggregate_by (self, *str keys) |
Aggregate the OutputStats objects in the list by a set of keys. | |
List["OutputStatsList"] | split_by (self, *str keys) |
Split the OutputStats objects in the list by a set of keys. | |
clear_zero_energies (self) | |
Remove components with zero energy. | |
clear_zero_areas (self) | |
Remove components with zero area. | |
pytimeloop.timeloopfe.v4.output_parsing.OutputStatsList.__init__ | ( | self, | |
* | args, | ||
** | kwargs ) |
OutputStats pytimeloop.timeloopfe.v4.output_parsing.OutputStatsList.aggregate | ( | self | ) |
Aggregate the OutputStats objects in the list.
Returns: OutputStats: The aggregated OutputStats object.
"OutputStatsList" pytimeloop.timeloopfe.v4.output_parsing.OutputStatsList.aggregate_by | ( | self, | |
*str | keys ) |
Aggregate the OutputStats objects in the list by a set of keys.
OutputStats with equal values for the keys will be aggregated together. OutputStats with different values for the keys will be aggregated separately and returned as a list.
Args: keys (List[str]): The keys to aggregate by.
Returns: OutputStatsList: A list of aggregated OutputStats objects.
pytimeloop.timeloopfe.v4.output_parsing.OutputStatsList.clear_zero_areas | ( | self | ) |
Remove components with zero area.
pytimeloop.timeloopfe.v4.output_parsing.OutputStatsList.clear_zero_energies | ( | self | ) |
Remove components with zero energy.
pytimeloop.timeloopfe.v4.output_parsing.OutputStatsList.combine_per_component_area | ( | self, | |
List[str] | from_keys, | ||
str | to ) |
Combine the area of multiple components into a single component.
Args: from_keys (List[str]): The keys of the components to combine. to (str): The key to combine the components into.
pytimeloop.timeloopfe.v4.output_parsing.OutputStatsList.combine_per_component_area_energy | ( | self, | |
List[str] | from_keys, | ||
str | to ) |
Combine the area and energy of multiple components into a single component.
Args: from_keys (List[str]): The keys of the components to combine. to (str): The key to combine the components into.
pytimeloop.timeloopfe.v4.output_parsing.OutputStatsList.combine_per_component_energy | ( | self, | |
List[str] | from_keys, | ||
str | to ) |
Combine the energy of multiple components into a single component.
Args: from_keys (List[str]): The keys of the components to combine. to (str): The key to combine the components into.
List["OutputStatsList"] pytimeloop.timeloopfe.v4.output_parsing.OutputStatsList.split_by | ( | self, | |
*str | keys ) |
Split the OutputStats objects in the list by a set of keys.
Returns a list of OutputStatsList objects, where each OutputStatsList contains the OutputStats objects with the same values for the keys.
Args: keys (List[str]): The keys to split by.
Returns: List[OutputStatsList]: A list of OutputStatsList objects.