profil man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

profil(2)							     profil(2)

       profil - execution time profile

       controls	 profiling,  by	 which	the  system maintains estimates of the
       amount of time the calling program spends executing at  various	places
       in its address space.

       The  buff  argument  must  point	 to an area of memory whose length (in
       bytes) is given by bufsiz.  When profiling is on, the process's program
       counter	(pc)  is examined each clock tick times per second), offset is
       subtracted from the pc value, and the result is	multiplied  by	scale.
       If  the	resulting number corresponds to an element inside the array of
       to which buff points, that element is incremented.

       The number of samples per second for a given implementation is given by
       which is defined in

       The scale is interpreted as an unsigned, sixteen bit, fixed-point frac‐
       tion with binary point at the left: 0177777 (octal) gives a  one-to-one
       mapping	of  pc's  to  words  in buff; 077777 (octal) maps each pair of
       instruction words together.  02(octal) maps all instructions  onto  the
       beginning of buff (producing a non-interrupting core clock).

       Profiling  is  turned  off by giving a scale of 0 or 1.	It is rendered
       ineffective by giving a bufsiz of 0.  Profiling is turned off when  one
       of  the	functions is executed, but remains on in child and parent both
       after a Profiling is turned off if an update in buff would cause a mem‐
       ory fault.

       No value is returned.

       prof(1), monitor(3C).


List of man pages available for HP-UX

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]
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