Changeset 10520 for OpenSceneGraph/trunk/src/osgDB/DatabasePager.cpp
- Timestamp:
- 08/05/09 13:06:53 (4 years ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/src/osgDB/DatabasePager.cpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgDB/DatabasePager.cpp
r10473 r10520 909 909 { 910 910 _expiryDelay = osg::asciiToDouble(ptr); 911 osg::notify(osg::NOTICE)<<" Expiry delay = "<<_expiryDelay<<std::endl;911 osg::notify(osg::NOTICE)<<"DatabasePager: Expiry delay = "<<_expiryDelay<<std::endl; 912 912 } 913 913 … … 916 916 { 917 917 _expiryFrames = atoi(ptr); 918 osg::notify(osg::NOTICE)<<" Expiry frames = "<<_expiryFrames<<std::endl;918 osg::notify(osg::NOTICE)<<"DatabasePager: Expiry frames = "<<_expiryFrames<<std::endl; 919 919 } 920 920 … … 930 930 } 931 931 932 osg::notify(osg::NOTICE)<<" Release delay = "<<_releaseDelay<<std::endl;932 osg::notify(osg::NOTICE)<<"DatabasePager: Release delay = "<<_releaseDelay<<std::endl; 933 933 } 934 934 else … … 1782 1782 " B="<<time_b<<" avg="<<s_total_time_stage_b/s_total_iter_stage_b<<" max = "<<s_total_max_stage_b<< 1783 1783 " C="<<time_c<<" avg="<<s_total_time_stage_c/s_total_iter_stage_c<<" max = "<<s_total_max_stage_c<<std::endl; 1784 1785 1786 if (osgDB::Registry::instance()->getSharedStateManager())1787 osgDB::Registry::instance()->getSharedStateManager()->prune();1788 1789 // update the Registry object cache.1790 osgDB::Registry::instance()->updateTimeStampOfObjectsInCacheWithExternalReferences(frameStamp.getReferenceTime());1791 osgDB::Registry::instance()->removeExpiredObjectsInCache(expiryTime);1792 1784 } 1793 1785 … … 1884 1876 osg::notify(osg::INFO)<<"_activePagedLODList.size()="<<_activePagedLODList.size()<<" overall = "<<time<< 1885 1877 " avg="<<s_total_time/s_total_iter<<" max = "<<s_total_max<<std::endl; 1886 1887 1888 if (osgDB::Registry::instance()->getSharedStateManager())1889 osgDB::Registry::instance()->getSharedStateManager()->prune();1890 1891 // update the Registry object cache.1892 osgDB::Registry::instance()->updateTimeStampOfObjectsInCacheWithExternalReferences(frameStamp.getReferenceTime());1893 osgDB::Registry::instance()->removeExpiredObjectsInCache(expiryTime);1894 1895 1896 1878 } 1897 1879
