PandA-2024.02
Public Member Functions | Private Attributes
priority_dynamic_mobility Struct Reference

This is a specialization based on mobility. More...

#include <priority.hpp>

Inheritance diagram for priority_dynamic_mobility:
Inheritance graph
[legend]
Collaboration diagram for priority_dynamic_mobility:
Collaboration graph
[legend]

Public Member Functions

 priority_dynamic_mobility (const ASLAPRef &aslap, const OpVertexSet &_ready_nodes, unsigned int _ctrl_step_multiplier)
 Constructor. More...
 
bool update () override
 This specialization does update the priorities at the end of the control step only of ready nodes. More...
 
- Public Member Functions inherited from priority_data< int >
virtual int operator() (const vertex &_a) const
 Return the priority associated with the vertex. More...
 
virtual int & operator[] (const vertex &_a)
 return the priority associated with the vertex. More...
 
virtual ~priority_data ()=default
 Destructor. More...
 

Private Attributes

const OpVertexSetready_nodes
 set of ready vertices. More...
 
unsigned int ctrl_step_multiplier
 multiplier used to take into account chaining during asap/alap computation More...
 

Detailed Description

This is a specialization based on mobility.

The update function does change the priority at the end of the control step analysis only of ready nodes.

Definition at line 126 of file priority.hpp.

Constructor & Destructor Documentation

◆ priority_dynamic_mobility()

priority_dynamic_mobility::priority_dynamic_mobility ( const ASLAPRef aslap,
const OpVertexSet _ready_nodes,
unsigned int  _ctrl_step_multiplier 
)

Constructor.

Note that usually high priority in list based means low mobility.

Definition at line 72 of file priority.cpp.

References from_strongtype_cast(), and priority_data< int >::operator[]().

Here is the call graph for this function:

Member Function Documentation

◆ update()

bool priority_dynamic_mobility::update ( )
overridevirtual

This specialization does update the priorities at the end of the control step only of ready nodes.

increase priority

Implements priority_data< int >.

Definition at line 93 of file priority.cpp.

References ctrl_step_multiplier, priority_data< int >::operator[](), and ready_nodes.

Here is the call graph for this function:

Field Documentation

◆ ctrl_step_multiplier

unsigned int priority_dynamic_mobility::ctrl_step_multiplier
private

multiplier used to take into account chaining during asap/alap computation

Definition at line 143 of file priority.hpp.

Referenced by update().

◆ ready_nodes

const OpVertexSet& priority_dynamic_mobility::ready_nodes
private

set of ready vertices.

Definition at line 141 of file priority.hpp.

Referenced by update().


The documentation for this struct was generated from the following files:

Generated on Mon Feb 12 2024 13:04:01 for PandA-2024.02 by doxygen 1.8.13