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

Functor used to compare which of two resources has to be considered first during the binding. More...

Collaboration diagram for cdfc_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 area More...
 
 cdfc_resource_ordering_functor (const AllocationInformationConstRef _allocation_soluton)
 Constructor. More...
 
 ~cdfc_resource_ordering_functor ()=default
 Destructor. More...
 

Private Attributes

const AllocationInformationConstRef allocation_information
 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 during the binding.

Definition at line 158 of file cdfc_module_binding.cpp.

Constructor & Destructor Documentation

◆ cdfc_resource_ordering_functor()

cdfc_resource_ordering_functor::cdfc_resource_ordering_functor ( const AllocationInformationConstRef  _allocation_soluton)
inlineexplicit

Constructor.

Parameters
ois the order.

Definition at line 193 of file cdfc_module_binding.cpp.

◆ ~cdfc_resource_ordering_functor()

cdfc_resource_ordering_functor::~cdfc_resource_ordering_functor ( )
default

Destructor.

Member Function Documentation

◆ operator()()

bool cdfc_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 area

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

Definition at line 171 of file cdfc_module_binding.cpp.

References AllocationInformation::get_area(), AllocationInformation::get_DSPs(), AllocationInformation::is_direct_access_memory_unit(), and AllocationInformation::is_indirect_access_memory_unit().

Here is the call graph for this function:

Field Documentation

◆ allocation_information

const AllocationInformationConstRef cdfc_resource_ordering_functor::allocation_information
private

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

Definition at line 162 of file cdfc_module_binding.cpp.


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

Generated on Mon Feb 12 2024 13:03:47 for PandA-2024.02 by doxygen 1.8.13