~pac72/ubuntu/lucid/ddd/devel

« back to all changes in this revision

Viewing changes to libiberty/clock.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Schepler
  • Date: 2004-07-22 03:49:37 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20040722034937-cysl08t1jvba4jrx
Tags: 1:3.3.9-3
USERINFO has been renamed to USERINFO.txt; adjust debian/rules code
to match, to get correct information on the About DDD dialog.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
This exception does not however invalidate any other reasons why
23
23
the executable file might be covered by the GNU General Public License. */
24
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
 
25
37
#include "config.h"
26
38
 
27
39
#ifdef HAVE_GETRUSAGE