Ignore:
Timestamp:
01/22/07 20:25:06 (17 years ago)
Author:
bittner
Message:

pvs efficiency tuning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/CombinedPreprocessor.cpp

    r2012 r2015  
    1414#include "RayCaster.h" 
    1515 
     16#include "PerfTimer.h" 
     17 
    1618 
    1719namespace GtpVisibilityPreprocessor { 
     20 
     21  extern PerfTimer viewCellCastTimer; 
     22  extern PerfTimer pvsTimer; 
     23  extern PerfTimer objTimer; 
    1824 
    1925const bool pruneInvalidRays = true; 
     
    8894        mMixtureDistribution->ComputeContributions(vssRays); 
    8995 
     96        cout<<"view cell cast time:"<<viewCellCastTimer.TotalTime()<<" s"<<endl; 
     97        cout<<"pvs time:"<<pvsTimer.TotalTime()<<" s"<<endl; 
     98        cout<<"obj time:"<<objTimer.TotalTime()<<" s"<<endl; 
     99 
    90100        if (mExportRays) { 
    91101          Debug<<"Exporting rays..."<<endl<<flush; 
Note: See TracChangeset for help on using the changeset viewer.