Response time measurement method and terminal
The invention relates to the field of data processing, and in particular to a response time measurement time and a terminal. The method comprises the following steps of: obtaining a starting time point through obtaining a time point for triggering an interface rendering operation; monitoring a drawi...
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 invention relates to the field of data processing, and in particular to a response time measurement time and a terminal. The method comprises the following steps of: obtaining a starting time point through obtaining a time point for triggering an interface rendering operation; monitoring a drawing ending function in real time and recording time points for calling the drawing ending function soas to obtain a calling time point set; if the fact that the drawing ending function is called is not monitored in a preset time interval, obtaining the time point, the time interval between which andthe current system time is the minimum, from the calling time point set so as to obtain an ending time point; and calculating a response time according to the ending time point and the starting timepoint. According to the method, the accuracy and efficiency of measuring application response time are improved at the same time.
本发明涉及数据处理领域,尤其涉及种测量响应时间的方法及终端。本发明通过获取触发界面渲染操作的时间点,得到开始时间点;实时监控绘图结束函数,并记录绘图结束函数被调用的时间点,得到调用时间点集合;若 |
---|