jProf

  • Mahesh
  • Topic Author
  • Offline
  • New Member
  • New Member
More
19 years 4 months ago #1880 by Mahesh
jProf was created by Mahesh
can any of u help us in using jProf? I tried running the prog with -JP (with JBCPROFILE set to 1 and 3) option but it doesn't seem to create the profile file.

Please Log in or Create an account to join the conversation.

More
19 years 4 months ago #1881 by vkarthik
Replied by vkarthik on topic jProf
In the Jbase prompt
jsh globdev ~ -->export JBCPROFILE=1

This will set the profile. This will create a file jprof_pid_n in bnk.run. This is valid for only that session only. I id this logn time ago. I think this should work. check and let me know.

Please Log in or Create an account to join the conversation.

More
19 years 4 months ago #1882 by malai
Replied by malai on topic jProf
Hi,

What karthik said is correct. I tried the same and its working fine.
_________________
M A L A I

Please Log in or Create an account to join the conversation.

More
19 years 4 months ago #1883 by malai
Replied by malai on topic jProf
Hi All,

I is working fine in jBASE4.0. But in jBASE4.1 on AIX5.1 ??????

When I tried to profile a JBC program I encountered the below error.

-->TEST.PROF -JP
-->Warning: Illegal argument -JP seen

What could be the problem? Could anyone please assist me.
_________________
M A L A I

Please Log in or Create an account to join the conversation.

More
19 years 3 months ago #1884 by KingArthur
Replied by KingArthur on topic jProf
Hi,

I think the jprof is completely changed from jBASE4.0 to jBASE4.1. I heard that they have removed the -JP option itself.

So, the above syntax doesnt work.

Lets try to find out.
_________________
King Arthur

Please Log in or Create an account to join the conversation.

More
19 years 3 months ago #1885 by malai
Replied by malai on topic jProf
Here is the solution which was given by GREG COOPER in google group.

$ export JDIAG=profile=long:filename=fb1.out
$ MYPROG
$ unset JDIAG
$ ls -l fb1.out
-rw-rw-r-- 1 greg greg 742 Mar 7 09:04 fb1.out
$: jprof -fMYSOURCES fb1.out

I tried this and it work fine.

Thanks for GREG COOPER..
_________________
M A L A I

Please Log in or Create an account to join the conversation.

More
19 years 3 months ago #1886 by worktigers
Replied by worktigers on topic jProf
For more information on this refer to the other topic 'jbase profiling' in the same forum.

Please Log in or Create an account to join the conversation.

Time to create page: 0.040 seconds