On Thu Dec 12 10:46:06 2024 +0000, William Horvath wrote:
I was just playing it safe; I wasn't sure at what frequency the X server overhead you mentioned became a concern. If 8000hz is under that threshold, I entirely agree with that suggested value. Otherwise, why do we need to worry about `freq` if it's hardcoded to TICKSPERSEC = 1ms? I see a lot of other occurrences where we pass NULL here.
It's hardcoded right now and unlikely to change but I think this is a ntdll implementation detail and we shouldn't let the assumption spread.
Yes I think 8khz should be fine, it was a problem when we were spinning on X calls (maybe even the yield would be enough, but not completely sure).