Ignore:
Timestamp:
01/21/07 00:40:56 (17 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/GvsPreprocessor.h

    r1999 r2003  
    4141                mTrianglePvs = 0; 
    4242                mViewCellId = 0; 
     43                mTotalTime = 0; 
     44                mTimePerViewCell = 0; 
     45                mTotalTrianglePvs = 0; 
    4346        } 
    4447 
     
    5356        int mBorderSamples; 
    5457        int mGvsPass; 
    55          
     58 
    5659        int mTotalPvs; 
    5760        int mViewCells; 
     
    5962        int mPerViewCellPvs; 
    6063        int mTrianglePvs; 
     64        int mTotalTrianglePvs; 
    6165        int mViewCellId; 
    62          
    63         float RaysPerSec() const { if (!Time()) return 0; return (float)mTotalSamples / Time() * 1e-6f; } 
     66 
     67        float mTimePerViewCell; 
     68        float mTotalTime; 
     69 
     70        float RaysPerSec() const { if (!mTotalTime) return 0; return (float)mTotalSamples / mTotalTime * 1e-6f; } 
    6471 
    6572        void Print(ostream &app) const; 
Note: See TracChangeset for help on using the changeset viewer.