Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   How to profile? (http://www.chiefdelphi.com/forums/showthread.php?t=126318)

JohnGilb 12-02-2014 15:20

How to profile?
 
Are there best practices around profiling java code on the cRIO?

In the past when programming in LabVIEW we took advantage of the built-in profiler to analyze the performance of our code.

Is there something similar that can be done with Java/NetBeans?

notmattlythgoe 12-02-2014 15:22

Re: How to profile?
 
Quote:

Originally Posted by JohnGilb (Post 1341925)
Are there best practices around profiling java code on the cRIO?

In the past when programming in LabVIEW we took advantage of the built-in profiler to analyze the performance of our code.

Is there something similar that can be done with Java/NetBeans?

You can see the cpu usage on the driver station while running, other than that I don't know of anything.

Ether 12-02-2014 15:48

Re: How to profile?
 
Quote:

Originally Posted by JohnGilb (Post 1341925)
...profiling java code on the cRIO...

You can instrument the code and write the results in a large RAM array.

Then examine the array offline.




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

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