Profiling and Graphics.updateDisplay0()
Posted
by AD
on Stack Overflow
See other posts from Stack Overflow
or by AD
Published on 2010-04-19T22:17:34Z
Indexed on
2010/04/19
22:23 UTC
Read the original article
Hit count: 200
I am profiling my BlackBerry application (a game) with the options 'In method only' and 'Time including native method'. Under the 'All methods' node (after a decent run of the game) the single most time consuming function is Graphics.updateDisplay0() with over 50% of the run time spent there.
I don't quite know what is the purpose of that function or if I can do anything to reduce its processing time, so if anyone can shed some light on the matter, I would be grateful. Because from what I understand with the 'In method only' option, it means there is some processing within that function.
ps. there is no information on that function in the documentation.
© Stack Overflow or respective owner