Log in

View Full Version : How to profile?


JohnGilb
12-02-2014, 15:20
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
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
...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.