Go to Post I think it will be very hard to find one aspect of FIRST which doesn't inspire us. - Arefin Bari [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 25-01-2017, 17:00
crezeshox crezeshox is offline
Registered User
FRC #3314
 
Join Date: Jan 2017
Location: New Jersey
Posts: 1
crezeshox is an unknown quantity at this point
Profiling Code with Virtual VM

Hi,

Has anyone been able to get jstatd on the roboRIO and profile the code using Virtual VM? We have been considering installing jstatd on it and we want to know if someone has managed to get it running.

Additionally, we would like to know if anyone knows of any code profilers we could use or if profiling robot code is even worthwhile.
Reply With Quote
  #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
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:49.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi