How does AB "grab" the frametimes??

Discussion in 'MSI AfterBurner Application Development Forum' started by Hübie, Aug 2, 2015.

  1. Hübie

    Hübie Member

    Messages:
    23
    Likes Received:
    0
    GPU:
    MSI TFG GTX 770 4GB @SLi
    I want to know how the software measures the frametimes. Since it can't just be the invered frames per second it must be another method or another point in the rendering pipeline where the frametimes got grabed.

    I saw several screenshots where the frametimes didn't match the inverted (actual displayed) frame per second. It would be too kind if the dev would reply to my question. :)

    Please don't guess - i want to know :grad:
     
  2. Hübie

    Hübie Member

    Messages:
    23
    Likes Received:
    0
    GPU:
    MSI TFG GTX 770 4GB @SLi
    No clue? :3eyes:
     
  3. Haldi

    Haldi Master Guru

    Messages:
    319
    Likes Received:
    41
    GPU:
    R9-290 CF
    no time? maybe...
     
  4. BoMbY

    BoMbY Guest

    Messages:
    185
    Likes Received:
    0
    GPU:
    Fury X
    You don't want any guesses. So probably only the author of the software can answer your question.
     

  5. Hübie

    Hübie Member

    Messages:
    23
    Likes Received:
    0
    GPU:
    MSI TFG GTX 770 4GB @SLi
    Then the author could make a short and clear answer to us :)
     
  6. Unwinder

    Unwinder Ancient Guru Staff Member

    Messages:
    17,083
    Likes Received:
    6,567
    I'm in vacation til September.
     
  7. cowie

    cowie Ancient Guru

    Messages:
    13,276
    Likes Received:
    357
    GPU:
    GTX
    :cheers:
    vacation sounds good about now
     
  8. Unwinder

    Unwinder Ancient Guru Staff Member

    Messages:
    17,083
    Likes Received:
    6,567
    The is only one method to measure frametime, but there are a lot of methods to calculate framerate from frametame:

    - calculate it immediately using currenty sampled frametime value (you call "inverting")
    - calculate it using some form of averaging and using previously buffered frametime values. And there are MANY ways of doing it. E.g. using fixed time window, using fixed size ring buffer, etc, etc
    MSI AB is using ring buffer of the last 1024 sampled frametimes and average value inside time window closest to 1000ms.
     

Share This Page