PyTimeloop
|
Resolves which data spaces are kept in which branches. More...
Public Member Functions | |
Set[str] | get_problem_ds_names (self, spec) |
process (self, Specification spec) | |
Process the specification. | |
Public Member Functions inherited from pytimeloop.timeloopfe.common.processor.Processor | |
__init__ (self, Optional["Specification"] spec=None) | |
pre_parse_process (self, "Specification" spec) | |
Process the specification before parsing. | |
declare_attrs (self) | |
Initialize the attributes that the processor is responsible for. | |
get_index (self, type processor_type, "Specification" spec) | |
Get the index of the processor in the list of processors. | |
must_run_after (self, type other, "Specification" spec, bool ok_if_not_found=False) | |
Ensure that this processor runs after another processor. | |
add_attr (self, Node target, *args, **kwargs) | |
Protected Member Functions | |
Set[str] | _get_kept_dataspaces (self, Node b) |
Set[str] | _parse_branch (self, Branch branch, Set[str] dataspaces, Specification spec) |
Additional Inherited Members | |
Public Attributes inherited from pytimeloop.timeloopfe.common.processor.Processor | |
logger = logging.getLogger(self.__class__.__name__) | |
spec = spec | |
Protected Attributes inherited from pytimeloop.timeloopfe.common.processor.Processor | |
bool | _initialized = True |
Resolves which data spaces are kept in which branches.
|
protected |
|
protected |
Set[str] pytimeloop.timeloopfe.v4.processors.dataspace2branch.Dataspace2BranchProcessor.get_problem_ds_names | ( | self, | |
spec ) |
pytimeloop.timeloopfe.v4.processors.dataspace2branch.Dataspace2BranchProcessor.process | ( | self, | |
Specification | spec ) |
Process the specification.
Reimplemented from pytimeloop.timeloopfe.common.processor.Processor.