Mercurial > hg > xemacs-beta
comparison lib-src/profile.c @ 155:43dd3413c7c7 r20-3b4
Import from CVS: tag r20-3b4
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:39:39 +0200 |
parents | 538048ae2ab8 |
children | 6b37e6ddd302 |
comparison
equal
deleted
inserted
replaced
154:94141801dd7e | 155:43dd3413c7c7 |
---|---|
30 ** 'q' -- exit. | 30 ** 'q' -- exit. |
31 ** | 31 ** |
32 ** abstraction : a stopwatch | 32 ** abstraction : a stopwatch |
33 ** operations: reset_watch, get_time | 33 ** operations: reset_watch, get_time |
34 */ | 34 */ |
35 #include <config.h> | |
35 #include <stdio.h> | 36 #include <stdio.h> |
36 #if __STDC__ || defined(STDC_HEADERS) | 37 #if __STDC__ || defined(STDC_HEADERS) |
37 #include <stdlib.h> | 38 #include <stdlib.h> |
38 #endif | 39 #endif |
39 #include <config.h> | |
40 #include <../src/systime.h> | 40 #include <../src/systime.h> |
41 | 41 |
42 static struct timeval TV1, TV2; | 42 static struct timeval TV1, TV2; |
43 static int watch_not_started = 1; /* flag */ | 43 static int watch_not_started = 1; /* flag */ |
44 static char time_string[30]; | 44 static char time_string[30]; |