Searched defs:EvictionCost (Results 1 – 1 of 1) sorted by relevance
230 struct EvictionCost { struct in __anon4e4d313f0111::RAGreedy231 unsigned BrokenHints; ///< Total number of broken hints.232 float MaxWeight; ///< Maximum spill weight evicted.234 EvictionCost(): BrokenHints(0), MaxWeight(0) {} in EvictionCost() argument236 bool isMax() const { return BrokenHints == ~0u; } in isMax()238 void setMax() { BrokenHints = ~0u; } in setMax()240 void setBrokenHints(unsigned NHints) { BrokenHints = NHints; } in setBrokenHints()242 bool operator<(const EvictionCost &O) const { in operator <()