profil_profil man page on Tru64

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
Tru64 logo
[printable version]

profil (SunOS)							profil (SunOS)

NAME
       profil - Starts and stops execution profiling

SUN OS SYNOPSIS
       int profil(
	       short *short_buffer,
	       int buffer_size,
	       void  *offset( ),
	       int scale );

DIGITAL UNIX SYNOPSIS
       void profil(
	       unsigned short *short_buffer,
	       unsigned int buffer_size,
	       void  *offset,
	       unsigned int scale ); #include <sys/resource.h>

       void profil(
	       struct profil_args *args,
	       int buffer_size,
	       -1,
	       unsigned long flags);

PARAMETERS
       Points  to  an area of memory in the user address space. Its length (in
       bytes) is given by the buffer_size parameter.  Specifies the length (in
       bytes) of the buffer.  When offset is -1, indicat ing that the extended
       profil format shown in the second synopsis above is in  use,  the  buf‐
       fer_size parameter indicates the number of profil_args

O
       structures  in  the args array.	Specifies the delta of program counter
       start and buffer; for example, an offset of 0 (zero) implies that  text
       begins  at  0.	When offset is -1, the profil call is interpreted as a
       call to profile multiple discontiguous address ranges, such as those in
       an  executable an d its shared libraries.  In this type of profil call,
       which has the format shown in  the  second  synopsis  above,  the  buf‐
       fer_size	 parameter  indicates  the number of profil_args structures in
       the args array.	Specifies  the	mapping	 factor	 between  the  program
       counter	and short_buffer.  When offset is -1, specifies an array of up
       to 64 struct profil_args structures, each describing a  single  address
       range in which profiling is to occu r.  Specifies flags that modify the
       behavior of a profil call that profiles multiple discontiguous  address
       ranges.	This argument is reserved for future use
	and should be 0.

DIFFERENCES
       Changes in data-type declarations.

RELATED INFORMATION
       Digital UNIX Functions:

	   profil(2) delim off

								profil (SunOS)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Tru64

List of man pages available for Tru64

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net