perun.api.decorator
Decorator module.
Attributes
Functions
|
Decorate function to monitor its energy usage. |
|
Decorate function to monitor its energy usage. |
|
Register a function to run after perun has finished collection data. |
Module Contents
- perun.api.decorator.log
- perun.api.decorator.monitor(region_name: str | None = None)
Decorate function to monitor its energy usage.
- perun.api.decorator.perun(configuration_file: str = './.perun.ini', **conf_kwargs)
Decorate function to monitor its energy usage.
- perun.api.decorator.register_callback(func: Callable[[perun.data_model.data.DataNode], None])
Register a function to run after perun has finished collection data.
Parameters
- funcCallable[[DataNode], None]
Function to be called.