*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> ftn/ssapi (3)              
Title
Content
Arch
Section
 

Contents


SSAPI(3)							      SSAPI(3)


NAME    [Toc]    [Back]

     ssrt_caliper_point, ssrt_interface_routine, ssrt_buffer_clear - SpeedShop
     runtime library

SYNOPSIS    [Toc]    [Back]

     #include <SpeedShop/api.h>
     int ssrt_caliper_point(int	flags, char *label);
     long ssrt_interface_routine(int op, void *context);
     void ssrt_buffer_clear(void);
     void ssrt_experiment_stop(void);

DESCRIPTION    [Toc]    [Back]

     The SpeedShop Performance Tools work by invoking functions	in the
     SpeedShop runtime library.	 This library may be explicitly	linked with a
     user program, in which case the following named routines above may	be
     invoked explicitly.  To explicitly	link with the SpeedShop	runtime, add
     the option	-lss to	the link line used to build the	program.  Doing	so
     will load the two SpeedShop libraries, libss.so and libssrt.so into the
     executable.

     ssrt_caliper_point	is used	to record a caliper point in the experiment.
     It	may be called from anywhere in the code.  The first parameter
     specifies the caliper point flags,	but is not supported yet, so it's
     ignored.  The second argument specifies a string label for	the caliper
     point.

     An	implicit caliper point is always recorded at the start of execution of
     the process. A final caliper point	is recorded when the process exits
     normally. The implicit caliper point at the beginning of the program is
     numbered 0, the first caliper point after that is numbered	1, and any
     additional	caliper	points are numbered sequentially.  In addition,
     caliper points are	automatically recorded under the following
     circumstances to ensure that at least one valid set of data is recorded.

     - When a fatal or exit signal is received.

     - When the	program	calls an exec function.

     - When a program closes a DSO by calling dlclose().

     ssrt_interface_routine is used to invoke the capture-module interface
     routine.  The definitions for op and the structure	of context for each
     value of op will be documented in future releases.

     ssrt_buffer_clear is used to clear	all currently accumulated data,
     resetting all values to zero.  It is used to exclude data from an
     initialization phase of the program.  With	caliper	support	available in
     prof(1), this routine will	normally not be	used.

     ssrt_experiment_stop is used to disable performance data collection for
     the calling process.  No experiment file will get generated for the
     process either.



									Page 1






SSAPI(3)							      SSAPI(3)


SEE ALSO    [Toc]    [Back]

      
      
     speedshop(1), ssrun(1), prof(1), ssdump(1), ssapi(3F)

DIAGNOSTICS    [Toc]    [Back]

     As	ouput from the library routines.
SSAPI(3F)							     SSAPI(3F)


NAME    [Toc]    [Back]

     ssrt_caliper_point, ssrt_buffer_clear - SpeedShop runtime library for
     Fortran applications

SYNOPSIS    [Toc]    [Back]

     integer ssrt_caliper_point
     integer i,	flags
     i = ssrt_caliper_point(flags, 'label')
     call ssrt_buffer_clear
     call ssrt_experiment_stop

DESCRIPTION    [Toc]    [Back]

     The SpeedShop Performance Tools work by invoking functions	in the
     SpeedShop runtime library.	 This library may be explicitly	linked with a
     user program, in which case the following named routines above may	be
     invoked explicitly.  To explicitly	link with the SpeedShop	runtime, add
     the option	-lss to	the link line used to build the	program.  Doing	so
     will load the two SpeedShop libraries, libss.so and libssrt.so into the
     executable.

     ssrt_caliper_point	is used	to record a caliper point in the experiment.
     It	may be called from anywhere in the code.  The first parameter
     specifies the caliper point flags,	but is not supported yet, so it's
     ignored.  The second argument specifies a string label for	the caliper
     point.

     An	implicit caliper point is always recorded at the start of execution of
     the process. A final caliper point	is recorded when the process exits
     normally. The implicit caliper point at the beginning of the program is
     numbered 0, the first caliper point after that is numbered	1, and any
     additional	caliper	points are numbered sequentially.  In addition,
     caliper points are	automatically recorded under the following
     circumstances to ensure that at least one valid set of data is recorded.

     - When a fatal or exit signal is received.

     - When the	program	calls an exec function.

     - When a program closes a DSO by calling dlclose().

     ssrt_buffer_clear is used to clear	all currently accumulated data,
     resetting all values to zero.  It is used to exclude data from an
     initialization phase of the program.  With	caliper	support	available in
     prof(1), this routine will	normally not be	used.

     ssrt_experiment_stop is used to disable performance data collection for
     the calling process.  No experiment file will get generated for the
     process either.







									Page 1






SSAPI(3F)							     SSAPI(3F)



SEE ALSO
     speedshop(1), ssrun(1), prof(1), ssdump(1), ssapi(3)

DIAGNOSTICS    [Toc]    [Back]

     As	ouput from the library routines.


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
io_ss IRIX SpeedShop I/O tracing library
malloc_ss IRIX SpeedShop memory allocation library
fpe_ss IRIX SpeedShop floating-point exception tracing library
IL IRIX configuring the ImageVision Library runtime environment
IFL IRIX configuring the Image Format Library runtime environment
omp_threads IRIX Runtime library procedures used to set, call or return numbers of threads
ssperf IRIX SpeedShop Performance Analyzer
prof IRIX analyze SpeedShop performance data
pixdump IRIX print out the tables in SpeedShop instrumented executables
ssrun IRIX set up and run a process to collect SpeedShop performance data
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service