This function affects a global Windows setting.
Windows uses the lowest value (that is, highest resolution) requested by any process.
Setting a higher resolution can improve the accuracy of time-out intervals in wait functions.
However, it can also reduce overall system performance, because the thread scheduler switches tasks more often.
High resolutions can also prevent the CPU power management system from entering power-saving modes.
Setting a higher resolution does not improve the accuracy of the high-resolution performance counter.