HPL_ptimer man page on DragonFly

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

HPL_ptimer(3)		     HPL Library Functions		 HPL_ptimer(3)

NAME
       HPL_ptimer - Timer facility.

SYNOPSIS
       #include "hpl.h"

       void HPL_ptimer( const int I );

DESCRIPTION
       HPL_ptimer  provides  a	"stopwatch"  functionality  cpu/wall  timer in
       seconds.	 Up to	64  separate timers can be functioning at  once.   The
       first  call  starts the timer,  and the second stops it.	 This  routine
       can be disenabled  by calling HPL_ptimer_disable(),  so that  calls  to
       the  timer  are ignored.	 This feature can be used to make sure certain
       sections of code do not affect timings,	even  if  they	call  routines
       which  have  HPL_ptimer calls in them. HPL_ptimer_enable()  will enable
       the  timer  functionality.  One	can retrieve  the current value	 of  a
       timer by calling

       t0 = HPL_ptimer_inquire( HPL_WALL_TIME | HPL_CPU_TIME, I )

       where   I   is the timer index in  [0..64).  To	inititialize the timer
       functionality, one must have called HPL_ptimer_boot() prior to  any  of
       the functions mentioned above.

ARGUMENTS
       I       (global input)	       const int
	       On entry, I specifies the timer to stop/start.

SEE ALSO
       HPL_ptimer_cputime (3), HPL_ptimer_walltime (3).

HPL 2.1			       October 26, 2012			 HPL_ptimer(3)
[top]

List of man pages available for DragonFly

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