Home
last modified time | relevance | path

Searched refs:mGpuTime (Results 1 – 1 of 1) sorted by relevance

/frameworks/opt/gamesdk/src/swappy/
DSwappy.h96 mCpuTime(cpuTime), mGpuTime(gpuTime) { in FrameDuration()
98 mGpuTime = std::min(mGpuTime, MAX_DURATION); in FrameDuration()
102 std::chrono::nanoseconds getGpuTime() const { return mGpuTime; } in getGpuTime()
105 return std::max(mCpuTime, mGpuTime); in getTime()
108 return mCpuTime + mGpuTime; in getTime()
113 mGpuTime += other.mGpuTime;
119 mGpuTime -= other.mGpuTime;
125 lhs.mGpuTime /= rhs;
130 std::chrono::nanoseconds mGpuTime = std::chrono::nanoseconds(0); variable