예제 #1
0
void
TimerQueue::Add(Timer &timer, uint64_t due_us)
{
  timers.insert(TimerRecord(timer, due_us));
}
예제 #2
0
void
TimerQueue::Add(Timer &timer, std::chrono::steady_clock::time_point due) noexcept
{
  timers.insert(TimerRecord(timer, due));
}
예제 #3
0
파일: Timer.cpp 프로젝트: rbmkp4800/Games
TimerRecord Timer::GetRecord()
{
	uint64 record = 0;
	QueryPerformanceCounter(PLARGE_INTEGER(&record));
	return TimerRecord(record);
}