- Timestamp:
- 07/03/06 15:53:39 (7 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgunittests/osgunittests.cpp
r4318 r5219 6 6 #include <osg/Matrix> 7 7 #include <osg/io_utils> 8 9 #include "performance.h" 8 10 9 11 #include <iostream> … … 193 195 arguments.getApplicationUsage()->addCommandLineOption("sizeof","Display sizeof tests."); 194 196 arguments.getApplicationUsage()->addCommandLineOption("matrix","Display qualified tests."); 197 arguments.getApplicationUsage()->addCommandLineOption("performance","Display qualified tests."); 195 198 196 199 … … 212 215 bool printQuatTest = false; 213 216 while (arguments.read("quat")) printQuatTest = true; 217 218 bool performanceTest = false; 219 while (arguments.read("p") || arguments.read("performance")) performanceTest = true; 214 220 215 221 // if user request help write it out to cout. … … 262 268 263 269 std::cout<<std::endl; 270 } 271 272 273 if (performanceTest) 274 { 275 std::cout<<"**** performance tests ******"<<std::endl; 276 277 runPerformanceTests(); 264 278 } 265 279
