X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Ftiming%2Ftesttimestamp.cxx;h=1c49d1018a15ee5876292b4e3266f0d9dcc88bae;hb=6f09421fd6ac77c894e6cb49ca1538c99b00bde5;hp=88abc50486a02b11cca8692cc83218ff48a15176;hpb=0dc9de81ae9d8fc64a4683ab82e9f1eca9398e1e;p=simgear.git diff --git a/simgear/timing/testtimestamp.cxx b/simgear/timing/testtimestamp.cxx old mode 100755 new mode 100644 index 88abc504..1c49d101 --- a/simgear/timing/testtimestamp.cxx +++ b/simgear/timing/testtimestamp.cxx @@ -14,7 +14,7 @@ int main() do { nb += 1; now.stamp(); - } while ( ( now - start ) < 5000000 ); + } while ( ( now - start ).toMicroSeconds() < 5000000 ); cout << ( nb / 5 ) << " iterations per seconds. Press ENTER to quit." << endl; c = cin.get();