// // test_sleep.cxx // // Test the sleep function // #include #include // SIGPIPE //#include // assert() //#include // malloc() //#include // M_PI //#include "midas.h" #include "tmfe.h" void test(double total_sleep, double call_sleep) { double start_time = TMFE::GetTime(); double count = 0; double incr = 0; int loops = total_sleep/call_sleep; for (int i=0; i