Changeset 429 for experimental/Threading/Timer
- Timestamp:
- Oct 24, 2012, 7:15:32 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
experimental/Threading/Timer/main.cpp
r428 r429 41 41 // Payload 42 42 osg::Timer_t currentTick = timer.tick(); 43 cout << timer.delta_m(last_tick,currentTick) << " msec " << endl;43 cout << timer.delta_m(last_tick,currentTick) << " msec ("<<(1000/60)<<")" << endl; 44 44 last_tick = timer.tick(); 45 45 } … … 47 47 private: 48 48 boost::asio::deadline_timer _timer; 49 high_resolution_timer49 boost::asio::basic_deadline_timer<> _timer; 50 50 int i; 51 51 const osg::Timer& timer;
Note: See TracChangeset
for help on using the changeset viewer.