Searched refs:Fraction (Results 1 – 5 of 5) sorted by relevance
57 struct Fraction { struct61 Fraction(T num = 0, T denom = 1) : mNum(num), mDen(denom) { in mNum() argument70 bool operator<(const Fraction<T>& other) const { return mNum * other.mDen < other.mNum * mDen; } argument72 bool operator==(const Fraction<T>& other) const {78 int64_t freqToDurationNs(Fraction<T> freq) { in freqToDurationNs()
65 ++mStatistics[Fraction<int>(mVsyncRate, numVsync)]; in onPresentInternal()94 Fraction<int> majorRefreshRate; in onMeasure()
70 std::map<Fraction<int>, int> mStatistics;
50 static const std::set<Fraction<int>> kFpsMappingTable;
26 const std::set<Fraction<int>> DisplayStateResidencyProvider::kFpsMappingTable =111 Fraction fps(teFrequency, displayPresentProfile.mNumVsync); in mapStatistics()