-
I'm looking for a way to make a long-running function time out after a certain amount of time (e.g. 10 to 100 msec). But we don't seem to have Is there some other trick I can use? Some way to count display vsyncs, or set up a periodic interrupt that increments a global counter? |
Beta Was this translation helpful? Give feedback.
Answered by
JoeStrout
Mar 2, 2024
Replies: 1 comment
-
Ah, I'm sorry, as soon as I posted this I found the CTimer class. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
JoeStrout
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ah, I'm sorry, as soon as I posted this I found the CTimer class.
CTimer::GetClockTicks()
does exactly what I need.