Sponsored Content
Top Forums Programming function profiler for HPUX...? Post 58251 by clockworks on Tuesday 16th of November 2004 04:07:58 PM
Old 11-16-2004
function profiler for HPUX...?

I need some kind of profiler that will tell me how much time is spent in each function. I'm running HPUX. Thanks for the suggestions.
 

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need Script to Use CPUs on a HPUX server to simulate Workload Manager on HPUX.

I am running HPUX and using WLM (workload manager). I want to write a script to fork CPUs to basically take CPUs from other servers to show that the communication is working and CPU licensing is working. Basically, I want to build a script that will use up CPU on a server. Any ideas? (2 Replies)
Discussion started by: cpolikowsky
2 Replies

2. Programming

C/C++ Appliaction Profiler

Dear All, I have my C/C++ appliaction running on Sun Solaris 5.9. Can any of you please suggest a profiler which i can use for improving the code performance. Please reply as i am stuck with the performance of the code. (1 Reply)
Discussion started by: ashisharora
1 Replies

3. Shell Programming and Scripting

profiler

What is a hard and soft match in unix profiler ??? (1 Reply)
Discussion started by: ekharvi
1 Replies

4. HP-UX

pwage-hpux-T for Trusted HPUX servers

I'm sharing this in case anybody needs it. Modified from the original solaris pwage script. This modified hpux script will check /etc/password file on hpux trusted systems search /tcb and grep the required u_succhg field. Calculate days to expiry and notify users via email. original solaris... (2 Replies)
Discussion started by: sparcguy
2 Replies
TAU_PROFILE_TIMER_DY(3) 				      TAU Instrumentation API					   TAU_PROFILE_TIMER_DY(3)

NAME
TAU_PROFILE_TIMER_DYNAMIC - Defines a dynamic timer. SYNOPSIS
C/C++: TAU_PROFILE_TIMER_DYNAMIC(Profiler timer, char* or string& function_name, char* or string& type, TauGroup_t group); Fortran: TAU_PROFILE_TIMER_DYNAMIC(integer profiler(2), character name(size)); DESCRIPTION
TAU_PROFILE_TIMER_DYNAMIC operates similar to TAU_PROFILE_TIMER except that the timer is created each time the statement is invoked. This way, the name of the timer can be different for each execution. EXAMPLE
C/C++ : int main(int argc, char **argv) { int i; TAU_PROFILE_TIMER(t,"main()", "", TAU_DEFAULT); TAU_PROFILE_SET_NODE(0); TAU_PROFILE_START(t); for (i=0; i&5; i++) { char buf[32]; sprintf(buf, "Iteration %d", i); TAU_PROFILE_TIMER_DYNAMIC(timer, buf, "", TAU_USER); TAU_PROFILE_START(timer); printf("Iteration %d ", i); f1(); TAU_PROFILE_STOP(timer); } return 0; } Fortran : subroutine ITERATION(val) integer val character(13) cvar integer profiler(2) / 0, 0 / save profiler print *, "Iteration ", val write (cvar,'(a9,i2)') 'Iteration', val call TAU_PROFILE_TIMER_DYNAMIC(profiler, cvar) call TAU_PROFILE_START(profiler) call F1() call TAU_PROFILE_STOP(profiler) return end SEE ALSO
TAU_PROFILE_TIMER(3), TAU_PROFILE_START(3), TAU_PROFILE_STOP(3) 08/31/2005 TAU_PROFILE_TIMER_DY(3)
All times are GMT -4. The time now is 11:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy