summaryrefslogtreecommitdiff
path: root/xc/unsupported/programs/gpc/stopwatch.h
blob: b7eb9ebf73d67850510fc66013a92b6e14974c5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/* $XConsortium$ */

/*
 */

/*--------------------------------------------------------------------*\
|
|  Copyright (C) 1989,1990, 1991, National Computer Graphics Association
|
|  Permission is granted to any individual or institution to use, copy, or
|  redistribute this software so long as it is not sold for profit, provided
|  this copyright notice is retained.
|
|                         Developed for the
|                National Computer Graphics Association
|                         2722 Merrilee Drive
|                         Fairfax, VA  22031
|                           (703) 698-9600
|
|                                by
|                 SimGraphics Engineering Corporation
|                    1137 Huntington Drive  Unit A
|                      South Pasadena, CA  91030
|                           (213) 255-0900
|---------------------------------------------------------------------
|
| Author        :	jmz / SimGraphics Engineering Corportation
|
| File          :	stopwatch.h
| Date          :	8/22/89
| Project       :	PLB
| Description   :	Stopwatch type and constant definitions.
| Status        :	Version 1.0
|
| Revisions     :	
|
\*--------------------------------------------------------------------*/

/* Define the Options for the stopwatch routine */

/* Stop the watch if running.  */
/* Return last stopped time */
#define WATCH_STOP	0

/* Start the watch if stopped */
/* Return current time */
#define WATCH_START	1

/* Return current time */
#define WATCH_SPLIT	2

/* Reset current time to zero, does NOT start or stop the watch */
#define WATCH_RESET	3

/* Return the accuracy of the watch */
#define WATCH_PRECISION	4

float stopwatch();