Home > Software engineering >  How to get the machine monitor refresh time Windows platform?
How to get the machine monitor refresh time Windows platform?

Time:02-11

If inscribe description

Access, callback, MSG can
How to know what time to refresh the screen is in?

CodePudding user response:

The refresh time? Or refresh frequency, if is frequency refer EnumDisplaySettings ()

CodePudding user response:

The application seems to have no need to care about when to display refresh,

CodePudding user response:

Only for display frame rate to refresh the application need, purpose is to maximize the user experience of decrease The Times of refresh
Can use IDXGIOutput: : WaitForVBlank
Or IDXGISwapChain2: : GetFrameLatencyWaitableObject + WaitForSingleObject

CodePudding user response:

reference 1st floor VisualEleven response:
refresh time? Or refresh rate, if the frequency is refer to the EnumDisplaySettings ()


Is the time to refresh

CodePudding user response:

reference dustpg reply: 3/f
only for display frame rate to refresh the application of need, the purpose is to maximize the user experience of decrease The Times of refresh
Can use IDXGIOutput: : WaitForVBlank
Or IDXGISwapChain2: : GetFrameLatencyWaitableObject + WaitForSingleObject


Thank you very much! I try to

CodePudding user response:

refer to the second floor zhao4zhong1 response:
application seems to have no need to care about when to display refresh,


I am now doing project or need to

CodePudding user response:

reference dustpg reply: 3/f
only for display frame rate to refresh the application of need, the purpose is to maximize the user experience of decrease The Times of refresh
Can use IDXGIOutput: : WaitForVBlank
Or IDXGISwapChain2: : GetFrameLatencyWaitableObject + WaitForSingleObject

  • Related