3 #include <simgear/timing/timestamp.hxx>
9 cout << "About to benchmark SGTimeStamp for 5 seconds. Press ENTER when ready." << endl;
12 SGTimeStamp start, now;
17 } while ( ( now - start ).toMicroSeconds() < 5000000 );
19 cout << ( nb / 5 ) << " iterations per seconds. Press ENTER to quit." << endl;