Heaven/TQA Posted January 15, 2015 Share Posted January 15, 2015 Can someone advice me how I can figure out exactly 1) what routines consumes how much cycles per 1 VBL 2) consumtation per defined time frame right now I am doing a stop "jmp *" and then look into the profiler (function graph fex) but devide the cycles by the calls the simple "INC FPS" per VBL is not granular enough when doing highend optimisations of core routines which take several VBLs. or more simple... cycle counting per 1 run of a subroutine is needed... but not manually. Quote Link to comment Share on other sites More sharing options...
flashjazzcat Posted January 15, 2015 Share Posted January 15, 2015 Have a look in the execution history and switch on cycle logging time stamps. Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted January 15, 2015 Author Share Posted January 15, 2015 thx. will have a look. Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted January 15, 2015 Author Share Posted January 15, 2015 hmmm... can not find where? Quote Link to comment Share on other sites More sharing options...
flashjazzcat Posted January 15, 2015 Share Posted January 15, 2015 (edited) Right-click in history: Edited January 15, 2015 by flashjazzcat Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted January 15, 2015 Author Share Posted January 15, 2015 Wow Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted January 16, 2015 Author Share Posted January 16, 2015 (edited) ok... piece of cake: break point 1 prior entering the routine, break point 2 at the end of the routine... now start once... stopped into debugger... setting cursor the breakpoint in the history window. right click and set to cycle counting, reset time stamp to 0. continue code... altirra stops at breakpoint 2... and hopefully history shows sum of cycles spend. break points of course set in WUDSN ide directly in source code Edited January 16, 2015 by Heaven/TQA 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.