/[gnats]/gnats/libiberty/clock.c
ViewVC logotype

Diff of /gnats/libiberty/clock.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by pdm, Mon Dec 10 23:03:27 2001 UTC revision 1.4 by chewie, Sat Nov 13 05:14:17 2004 UTC
# Line 22  the resulting executable to be covered b Line 22  the resulting executable to be covered b
22  This exception does not however invalidate any other reasons why  This exception does not however invalidate any other reasons why
23  the executable file might be covered by the GNU General Public License. */  the executable file might be covered by the GNU General Public License. */
24    
25    /*
26    
27    @deftypefn Supplemental long clock (void)
28    
29    Returns an approximation of the CPU time used by the process as a
30    @code{clock_t}; divide this number by @samp{CLOCKS_PER_SEC} to get the
31    number of seconds used.
32    
33    @end deftypefn
34    
35    */
36    
37  #include "config.h"  #include "config.h"
38    
39  #ifdef HAVE_GETRUSAGE  #ifdef HAVE_GETRUSAGE

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26