码迷,mamicode.com
首页 > 其他好文 > 详细

监测树莓派GPU使用情况

时间:2016-06-14 19:26:17      阅读:390      评论:0      收藏:0      [点我收藏+]

标签:

执行/opt/vc/src/hello_pi/hello_video下的例子,为了验证是否使用了GPU,所以需要检测GPU的使用情况

命令

1 sudo vcdbg reloc

没有执行例子前

0x37000000: free 106M
[   4] 0x3da79d40: used  576 (refcount 1 lock count 0, size      512, align    4, data 0x3da79d60, d0rual) ILCS VC buffer pool
[   3] 0x3da79f80: used 1.5M (refcount 1 lock count 8, size  1572864, align 4096, data 0x3da7a000, d1rual) ARM FB
[   2] 0x3dbfafa0: used  16K (refcount 1 lock count 0, size    16384, align   32, data 0x3dbfafc0, d0ruAl) audioplus_tmp_buf
[   1] 0x3dbfefe0: used 4.0K (refcount 1 lock count 0, size        0, align 4096, data 0x3dbff000, d1rual) camera fast alloc arena
small allocs not requested

执行例子的过程中

0x37000000: free 81M
[  26] 0x3c0ade40: used 268K (refcount 1 lock count 1, size   274560, align   32, data 0x3c0ade60, d0Rual) Vdec3 Msgbuf
[  33] 0x3c0f0f00: used 956K (refcount 1 lock count 0, size   979200, align    4, data 0x3c0f0f20, d1Rual) H264 dm_storage
[  39] 0x3c1e0040: used  544 (refcount 1 lock count 0, size      256, align  256, data 0x3c1e0100, d3rual) H264 dummy data partition
[  38] 0x3c1e0260: used  14K (refcount 1 lock count 0, size    14000, align   64, data 0x3c1e0280, d3rual) h264_top_context
0x3c1e3980: free 32K
[   6] 0x3c1eb9c0: used 1.0M (refcount 1 lock count 0, size  1048576, align  

对比可见,GPU的确在运行

更多命令请查看

sudo vcdbg help

监测树莓派GPU使用情况

标签:

原文地址:http://www.cnblogs.com/weixinforspurs/p/5585173.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!