Changeset 1301 for GTP/trunk/App/Demos
- Timestamp:
- 08/30/06 17:40:51 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/KdTreeDemo/OGRE/src/TestKdTreeAppListener.cpp
r1300 r1301 1758 1758 logheader << (i+1) << fs; 1759 1759 } 1760 // minFPS, avgFPS, maxFPS, comment, record separator1760 // minFPS, avgFPS, maxFPS, frames, time, render system, comment, record separator 1761 1761 logheader << "\"min FPS\"" << fs << "\"avg FPS\"" << fs << "\"max FPS\"" << fs 1762 << "\"# Frames \"" << fs << "\"Total Time\"" << fs << "\"Comment\"" << rs; 1762 << "\"# Frames \"" << fs << "\"Total Time\"" << fs << "\"Render System\"" << fs 1763 << "\"Comment\"" << rs; 1763 1764 logheader.close(); 1764 1765 } … … 1777 1778 if (logwrite.is_open()) 1778 1779 { 1780 // gather info about ogre settings 1781 String rendersys = "\"" + Root::getSingleton().getRenderSystem()->getName(); 1782 ConfigOptionMap rsopts = Root::getSingleton().getRenderSystem()->getConfigOptions(); 1783 for (ConfigOptionMap::iterator it = rsopts.begin(); it != rsopts.end(); it ++) 1784 { 1785 rendersys += " | " + it->first + " : " + it->second.currentValue; 1786 } 1787 rendersys += "\""; 1788 1779 1789 // demo settings 1780 1790 logwrite << "\"" << SCENEMANAGER[mOptions.mSceneManager]; … … 1818 1828 // minFPS, avgFPS, maxFPS, comment, record separator 1819 1829 logwrite << (int)minFPS << fs << (int)avgFPS << fs << (int)maxFPS << fs 1820 << mDemoStats.mTotalNumFrames << fs << mDemoStats.mTotalEllapsedTime << fs 1821 << "\"" << mOptions.mComment << "\"" << rs;1830 << mDemoStats.mTotalNumFrames << fs << mDemoStats.mTotalEllapsedTime << fs 1831 << rendersys << fs << "\"" << mOptions.mComment << "\"" << rs; 1822 1832 logwrite.close(); 1823 1833 }
Note: See TracChangeset
for help on using the changeset viewer.