Searched defs:EvictionCost (Results 1 – 1 of 1) sorted by relevance
217 struct EvictionCost { struct in __anon4e4d313f0111::RAGreedy218 unsigned BrokenHints; ///< Total number of broken hints.219 float MaxWeight; ///< Maximum spill weight evicted.221 EvictionCost(): BrokenHints(0), MaxWeight(0) {} in EvictionCost() argument223 bool isMax() const { return BrokenHints == ~0u; } in isMax()225 void setMax() { BrokenHints = ~0u; } in setMax()227 void setBrokenHints(unsigned NHints) { BrokenHints = NHints; } in setBrokenHints()229 bool operator<(const EvictionCost &O) const { in operator <()