GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
HPL_ptimer_cputime(3) HPL Library Functions HPL_ptimer_cputime(3)

HPL_ptimer_cputime - Return the CPU time.

#include "hpl.h"

double HPL_ptimer_cputime();

HPL_ptimer_cputime returns the cpu time. If HPL_USE_CLOCK is defined, the clock() function is used to return an approximation of processor time used by the program. The value returned is the CPU time used so far as a clock_t; to get the number of seconds used, the result is divided by CLOCKS_PER_SEC. This function is part of the ANSI/ISO C standard library. If HPL_USE_TIMES is defined, the times() function is used instead. This function returns the current process times. times() returns the number of clock ticks that have elapsed since the system has been up. Otherwise and by default, the standard library function getrusage() is used.

HPL_ptimer_walltime (3), HPL_ptimer (3).
December 2, 2018 HPL 2.3

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.