Searched defs:EvictionCost (Results 1 – 2 of 2) sorted by relevance
158 struct EvictionCost { struct in __anonee6eecea0111::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 __anon739613be0111::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 <()