Frame rate acquisition method and device, electronic equipment and storage medium
The embodiment of the invention provides a frame rate acquisition method and device, electronic equipment and a storage medium, and relates to the technical field of computers. The method comprises the following steps: whenever a picture corresponding to a rendered layer in a target frame buffer are...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention provides a frame rate acquisition method and device, electronic equipment and a storage medium, and relates to the technical field of computers. The method comprises the following steps: whenever a picture corresponding to a rendered layer in a target frame buffer area in a graphics library is displayed, obtaining a system timestamp when a position exchange operation is completed, and sending the system timestamp to a preset system service through a first-in first-out (FIFO) pipeline and storing the system timestamp; and when a preset frame rate calculation triggering condition is met, obtaining a frame rate of a display picture through the preset system service according to the stored system timestamps, and storing the frame rate in a preset interface library. Compared with the prior art, in the process that time is transmitted through the FIFO pipeline and calculation is completed in the preset system service, the occupied amount of system resources is smaller; the calculatio |
---|