Potential 6 ms latency of the timer -~ 6 ms latency in the timer

Source: Internet
Author: User

If you have developed Windows Mobile gestureGesturephysicsengine. hThe header file is defined as follows:

/// <Summary>
/// Defines a common value for a normal Frame delay rate expected to be used when displaying
/// Output from the physics engine. we are aiming at 25fps and also allow ~ 6 ms latency in the timer
/// </Summary>
# Define Gesture_animation_frame_delay_ms34 

 

The file is in the.. \ Windows Mobile 6 SDK \ pocketpc \ include \ armv4i \"Directory. The approximate meaning of the comment is:

      "Defines a public value for the normal frame latency rate, which is used when the physical engine displays the output. The target is 25 FPS and the potential 6 ms latency in the timer is allowed ."

 

From the above note, we can know that there may be 6 seconds of delay after each frame is refreshed, And the set latency is 34 Ms, so the actual time required for each frame is 40 ms.

The above definition also illustrates this:

# Define Gesture_animation_frame_delay_ms34 

1000/34 ≈ 29;

If the latency is 6 ms:

1000/(34 + 6) = 25;

This is exactly the same as 25 FPS in the comment, which proves our point of view.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.