View Single Post
  #2   Spotlight this post!  
Unread 07-02-2017, 01:04
phurley67 phurley67 is offline
Programming Mentor
FRC #0862 (Lightning Robotics)
Team Role: Mentor
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Michigan
Posts: 73
phurley67 is an unknown quantity at this point
Re: Profiling Code with Virtual VM

Did you have any luck profiling your code? We are regularly using 85-90% cpu and spiking to a 100%, which seems to cause intermitent CAN timeouts. We do have a fair amount of logging in place, and are trying to do a fair amount, but it would be nice to narrow down the slower bits of code and remove/replace as necessary, rather than chopping stuff out at random, until we find the slowest/most run portions.

Thanks
Reply With Quote