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

Functor used to compare which of two resources has to be considered first in the scheduling. More...

Collaboration diagram for resource_ordering_functor:
Collaboration graph
[legend]

Public Member Functions

bool operator() (const unsigned int &a, const unsigned int &b) const
 functor function used to compare two resources with respect to their performances More...
 
 resource_ordering_functor (const AllocationInformationConstRef _all)
 Constructor. More...
 
 ~resource_ordering_functor ()=default
 Destructor. More...
 

Private Attributes

const AllocationInformationConstRef all
 copy of the order: control step associated with the vertices. More...
 

Detailed Description

Functor used to compare which of two resources has to be considered first in the scheduling.

Definition at line 137 of file parametric_list_based.cpp.

Constructor & Destructor Documentation

◆ resource_ordering_functor()

resource_ordering_functor::resource_ordering_functor ( const AllocationInformationConstRef  _all)
inlineexplicit

Constructor.

Parameters
ois the order.

Definition at line 179 of file parametric_list_based.cpp.

◆ ~resource_ordering_functor()

resource_ordering_functor::~resource_ordering_functor ( )
default

Destructor.

Member Function Documentation

◆ operator()()

bool resource_ordering_functor::operator() ( const unsigned int &  a,
const unsigned int &  b 
) const
inline

functor function used to compare two resources with respect to their performances

Parameters
ais the first vertex
bisthe second vertex
Returns
true when a is faster than b

Definition at line 150 of file parametric_list_based.cpp.

References AllocationInformation::get_area(), AllocationInformation::get_DSPs(), AllocationInformation::get_fu_name(), AllocationInformation::get_worst_execution_time(), AllocationInformation::is_indirect_access_memory_unit(), PROXY_PREFIX, and STR.

Here is the call graph for this function:

Field Documentation

◆ all

const AllocationInformationConstRef resource_ordering_functor::all
private

copy of the order: control step associated with the vertices.

Definition at line 141 of file parametric_list_based.cpp.


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

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