Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
dart::Edge Struct Reference

Public Member Functions

 Edge (BlockEntryInstr *source, BlockEntryInstr *target, double weight)
 

Static Public Member Functions

static int LowestWeightFirst (const Edge *a, const Edge *b)
 

Public Attributes

BlockEntryInstrsource
 
BlockEntryInstrtarget
 
double weight
 

Detailed Description

Definition at line 97 of file block_scheduler.cc.

Constructor & Destructor Documentation

◆ Edge()

dart::Edge::Edge ( BlockEntryInstr source,
BlockEntryInstr target,
double  weight 
)
inline

Definition at line 98 of file block_scheduler.cc.

BlockEntryInstr * target
BlockEntryInstr * source

Member Function Documentation

◆ LowestWeightFirst()

int Edge::LowestWeightFirst ( const Edge a,
const Edge b 
)
static

Definition at line 127 of file block_scheduler.cc.

127 {
128 if (a->weight < b->weight) {
129 return -1;
130 }
131 return (a->weight > b->weight) ? 1 : 0;
132}
static bool b
struct MyStruct a[10]

Member Data Documentation

◆ source

BlockEntryInstr* dart::Edge::source

Definition at line 103 of file block_scheduler.cc.

◆ target

BlockEntryInstr* dart::Edge::target

Definition at line 104 of file block_scheduler.cc.

◆ weight

double dart::Edge::weight

Definition at line 105 of file block_scheduler.cc.


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