java - How to measure the rendering time of a View? -


i'm using chartengine create scatter plots. each scatter plot view.
how measure time required render view?

like this

class myview extends view {      @override     protected void ondraw(canvas canvas) {         time t = new time();         t.settonow();         long timestart = t.tomillis(false);          super.ondraw(canvas);          t.settonow();         long timetodraw = t.tomillis(false) - timestart;      } } 

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -