Mercurial > hg > xemacs-beta
comparison lib-src/profile.c @ 272:c5d627a313b1 r21-0b34
Import from CVS: tag r21-0b34
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:28:48 +0200 |
parents | 2d532a89d707 |
children | 74fd4e045ea6 |
comparison
equal
deleted
inserted
replaced
271:c7b7086b0a39 | 272:c5d627a313b1 |
---|---|
32 ** abstraction : a stopwatch | 32 ** abstraction : a stopwatch |
33 ** operations: reset_watch, get_time | 33 ** operations: reset_watch, get_time |
34 */ | 34 */ |
35 #include <../src/config.h> | 35 #include <../src/config.h> |
36 #include <stdio.h> | 36 #include <stdio.h> |
37 #if __STDC__ || defined(STDC_HEADERS) | |
38 #include <stdlib.h> | 37 #include <stdlib.h> |
39 #endif | |
40 #include "../src/systime.h" | 38 #include "../src/systime.h" |
41 | 39 |
42 static struct timeval TV1, TV2; | 40 static struct timeval TV1, TV2; |
43 static int watch_not_started = 1; /* flag */ | 41 static int watch_not_started = 1; /* flag */ |
44 static char time_string[30]; | 42 static char time_string[30]; |