00001 /* 00002 Copyright (C) 2003-2004 Douglas Thain and the University of Wisconsin 00003 Copyright (C) 2005- The University of Notre Dame 00004 This software is distributed under the GNU General Public License. 00005 See the file COPYING for details. 00006 */ 00007 00008 #ifndef TIMESTAMP_H 00009 #define TIMESTAMP_H 00010 00015 #include "int_sizes.h" 00016 #include <time.h> 00017 00019 typedef UINT64_T timestamp_t; 00020 00021 #define TIMESTAMP_FORMAT UINT64_FORMAT 00022 00027 timestamp_t timestamp_get(void); 00028 00033 void timestamp_sleep(timestamp_t interval); 00034 00040 time_t timestamp_file(const char *file); 00041 00042 #endif