Home » Developer & Programmer » Precompilers, OCI & OCCI » performance statistics (HP UNIX)
performance statistics [message #305662] Tue, 11 March 2008 08:41 Go to next message
jiten_hegde
Messages: 3
Registered: March 2008
Junior Member
Hi, Can anybody help me out with any performance statistics tool that would give me a summary of which function is called how many times, number of sql hits, number of transactions, fetch.
In all summary of C operations and SQL operations performed by a particular application so that I can tune it. Or is there a better way to approach tuning an application.
I know of perfstat, but it is not working properly on my system.
Re: performance statistics [message #319961 is a reply to message #305662] Tue, 13 May 2008 08:53 Go to previous messageGo to next message
xyzt
Messages: 27
Registered: April 2008
Junior Member
did you look at gprof?
Re: performance statistics [message #320082 is a reply to message #319961] Wed, 14 May 2008 01:17 Go to previous messageGo to next message
jiten_hegde
Messages: 3
Registered: March 2008
Junior Member
i tried for normal c program and pro*C program it works. but my pro*C program creates shared libraries which is called by another c program. I tried compiling all of them with -G and -pg option. But after running the exe the gmon.out is not created.




Re: performance statistics [message #320727 is a reply to message #319961] Fri, 16 May 2008 01:49 Go to previous messageGo to next message
jiten_hegde
Messages: 3
Registered: March 2008
Junior Member
Sorry my mistake. I tested it again. I found that the gmon.out is not created for a pro*C source code (i.e. after precompiling compiling and running) on the other hand it is created for a c source code (after compiling and running).
Re: performance statistics [message #320733 is a reply to message #320727] Fri, 16 May 2008 02:19 Go to previous message
xyzt
Messages: 27
Registered: April 2008
Junior Member
thats nice.
Previous Topic: sqlcxt runtime exception after 8i -> 11g port
Next Topic: Syntax error in /usr/include/sys/ header files during Pro*C Compilation
Goto Forum:
  


Current Time: Fri Mar 29 09:28:11 CDT 2024