setStatisticLoadLevel
Sets the load level for this component. This overrides the default or global load level. Load levels are not used for statistics that are explicitly enabled (i.e., does not use one of the "All" variants for enabling statistics). This function applies to both Components and SubComponents.
Syntax
component.setStatisticLoadLevel(level, include_children=False)
Parameters
- level (type: int) statistic load level for the component
- include_children (type: bool) If set to True, will recursively set the specified load level on all currently instanced SubComponent descendants. SubComponents created after this call will not have their load level set.
- returns none
Example
import sst
component0 = sst.Component("c0", "simpleElementExample.example1")
component0.setStatisticLoadLevel(4, include_children=True)
Import
import sst