Is there a way to show the time spent in a method not counting the time in called methods? For example the Invocation Tree might show
com.skillsoft.cb.importer.ExcelImporter.importXls(String) 13,029
com.skillsoft.cb.importer.ExcelImporter.importCourses() 8,260
com.skillsoft.cb.hibernate.HibernateCbDao.clearDatabase() 2,411
com.skillsoft.rattler.data...<init>(File) 1,894
com.skillsoft.cb.importer.ExcelImporter.importCategories6() 348
The called methods only add up to 12913 meaning 116 was spent in importXls. This is not the best example; sometimes the difference is greater.
Thanks!
Time spent in method
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Time spent in method
Please select the method of interest in the call tree view, then use the "Own time" column in the slave
"Callees list" slave view (the bottom view).
Please also note you may expand method calls collapsed because of applied filters.
https://www.yourkit.com/docs/java/help/filters.jsp
"Callees list" slave view (the bottom view).
Please also note you may expand method calls collapsed because of applied filters.
https://www.yourkit.com/docs/java/help/filters.jsp