09-23-2009 12:18 AM
Hi ,
I have an application that is having two parallel threads running simultanously.
Though I have given timed delays to the loops , the CPU resource usage seems
to hogged by application when it is run.Is there any way to figure out what part
of the code /thread seems to take the max share of CPU ....
Sundar.
09-23-2009 12:27 AM
09-23-2009 08:30 AM
Thanks Balaji,
However I was looking at profiling all of the used submodules individually to analyse their performance better
since the Code is pretty complex.
It wouldnt be possible to post the code since am bound by the so called "Intellectual Property"
Sundar.
09-23-2009 09:14 AM
Hi
1. Click on Tools»Profile»Performance and Memory...
2. Click Start in the Profile tool to start profiling.
3. Run your application.
4. Stop your application.
5. Press Stop in the Profile tool to stop profiling to get results.
You can see from the results wich VI is consumming a lot. This means that you
will be able to find the most performance improvement by
making the VI faster.
For more detail, pick a look at "Using the Profile Tool.vi" (generaly found at: C:\Program Files\National Instruments\LabVIEW 8.6\examples\general\profile.llb\Using the Profile Tool.vi)