Skip to content

1989wanghang/statistics-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • trace.py: 将所有数据绘制到一张图上
  • diff_last_time.py: 统计前后次时间间隔分布情况,并打印出平均帧率
  • duration.py: 统计函数耗时分布情况,并打印出平均耗时;与diff_last_time.py结合方便确定过多的间隔是否由于函数耗时引起

安装依赖:

pip3 install -U plotly numpy

使用方法:

./trace.py pen_move.txt repaint_req.txt build_displaylist.txt draw_frame.txt swapbuffers.txt
./diff_last_time.py swapbuffers.txt
./duration.py swapbuffers.txt

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published