开发者

What is 'self' that shows up in android trace view

开发者 https://www.devze.com 2023-03-10 19:08 出处:网络
I\'ve started to use t开发者_运维知识库he android Trace view tool to profile my game.In some of my methods im seeing a large percentage of time taken up in \'self\'.

I've started to use t开发者_运维知识库he android Trace view tool to profile my game. In some of my methods im seeing a large percentage of time taken up in 'self'.

I have a feeling its something obvious but does anyone know what this represents?


Self is time spent in the actual method, instead of children. For example, if you have a method that runs a loop doing some math, and then calling some draw functions, you'll see the time listed for the draw functions in children, and the time spent in that method itself(mainly the math loop) as self.

0

精彩评论

暂无评论...
验证码 换一张
取 消