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 a BSD-style license. 00005 See the file COPYING for details. 00006 */ 00007 00008 #ifndef TIMESTAMP_H 00009 #define TIMESTAMP_H 00010 00011 #include "int_sizes.h" 00012 #include <time.h> 00013 00014 typedef UINT64_T timestamp_t; 00015 #define TIMESTAMP_FORMAT UINT64_FORMAT 00016 00017 time_t timestamp_file( const char *file ); 00018 timestamp_t timestamp_get(); 00019 void timestamp_sleep( timestamp_t interval ); 00020 00021 #endif 00022