1 #ifndef NEXT_M0_TIME_H_
2 #define NEXT_M0_TIME_H_
3 
4 namespace gambatte {
5 
6 class NextM0Time {
7 public:
NextM0Time()8 	NextM0Time() : predictedNextM0Time_(0) {}
9 	void predictNextM0Time(class PPU const &v);
invalidatePredictedNextM0Time()10 	void invalidatePredictedNextM0Time() { predictedNextM0Time_ = 0; }
predictedNextM0Time()11 	unsigned predictedNextM0Time() const { return predictedNextM0Time_; }
12 
13 private:
14 	unsigned predictedNextM0Time_;
15 };
16 
17 }
18 
19 #endif
20