00001 #ifndef _uth_system_ 00002 #define _uth_system_ 00003 /****************************************************************************** 00004 File uth_system.h - interface with features directly dependend on OS. 00005 00006 Time measurments: 00007 time_C - (C standard procedure) to return time in seconds from some date 00008 00009 time_init - to initiate time measurments 00010 time_clock - to return wall clock time from initialization 00011 time_CPU - to return CPU time from initialization 00012 time_print - to print CPU and wall clock time from initialization 00013 ******************************************************************************/ 00014 #ifdef __cplusplus 00015 extern "C" 00016 { 00017 #endif 00018 00022 extern void time_init(); 00023 00027 extern double time_C(); 00028 00032 extern double time_clock(); 00033 00037 extern double time_CPU(); 00038 00042 extern void time_print(); 00043 00044 00045 #ifdef __cplusplus 00046 } 00047 #endif 00048 00049 #endif