Searched defs:EvictionCost (Results 1 – 3 of 3) sorted by relevance
158 struct EvictionCost { struct in __anon97cedd6b0111::RAGreedy159 unsigned BrokenHints; ///< Total number of broken hints.160 float MaxWeight; ///< Maximum spill weight evicted.162 EvictionCost(unsigned B = 0) : BrokenHints(B), MaxWeight(0) {} in EvictionCost() argument164 bool operator<(const EvictionCost &O) const { in operator <()
232 struct EvictionCost { struct in __anon4e4d313f0111::RAGreedy233 unsigned BrokenHints; ///< Total number of broken hints.234 float MaxWeight; ///< Maximum spill weight evicted.236 EvictionCost(): BrokenHints(0), MaxWeight(0) {} in EvictionCost() function238 bool isMax() const { return BrokenHints == ~0u; } in isMax()240 void setMax() { BrokenHints = ~0u; } in setMax()242 void setBrokenHints(unsigned NHints) { BrokenHints = NHints; } in setBrokenHints()244 bool operator<(const EvictionCost &O) const { in operator <()
276 struct EvictionCost { struct in __anondab441770111::RAGreedy277 unsigned BrokenHints = 0; ///< Total number of broken hints.278 float MaxWeight = 0; ///< Maximum spill weight evicted.282 bool isMax() const { return BrokenHints == ~0u; } in isMax()284 void setMax() { BrokenHints = ~0u; } in setMax()286 void setBrokenHints(unsigned NHints) { BrokenHints = NHints; } in setBrokenHints()288 bool operator<(const EvictionCost &O) const { in operator <()