support sampler-based profiling on Windows #42

Open
mmp opened this Issue Oct 20, 2015 · 0 comments

Projects

None yet

1 participant

@mmp
Owner
mmp commented Oct 20, 2015

InitProfiler() should set up a periodic timer to interrupt all currently running threads and call ReportProfileSample() each time it fires. It looks like Waitable Timer Objects (https://msdn.microsoft.com/en-us/library/ms687012(v=VS.85).aspx) are what we want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment