Ignore:
Timestamp:
08/28/06 21:13:40 (18 years ago)
Author:
bittner
Message:

intel ray caster updates

File:
1 edited

Legend:

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

    r1283 r1292  
    503503   
    504504  long startTime = GetTime(); 
     505  long lastTime; 
     506  float totalTime; 
    505507   
    506508  int totalSamples = 0; 
     
    602604        mViewCellsManager->ComputeSampleContributions(mVssRays, true, false); 
    603605        cout<<"done.\n"<<flush; 
     606 
     607        long time = GetTime(); 
     608        totalTime = TimeDiff(startTime, time)*1e-3; 
     609        lastTime = time; 
    604610         
    605611        mStats << 
    606612          "#Pass\n" <<mPass<<endl<< 
    607613          "#RssPass\n" <<rssPass<<endl<< 
    608           "#Time\n" << TimeDiff(startTime, GetTime())*1e-3<<endl<< 
     614          "#Time\n" << totalTime <<endl<< 
    609615          "#TotalSamples\n" <<totalSamples<<endl<< 
    610616          "#RssSamples\n" <<rssSamples<<endl; 
     
    748754           
    749755          // now evaluate the ratios for the next pass 
    750 #define TIMES 0 
     756#define TIMES 1 
    751757 
    752758#if TIMES 
     
    800806                                                                                                                                                   mInitialSamples)<<"%\n"; 
    801807         
     808 
     809        long time = GetTime(); 
     810        totalTime += TimeDiff(lastTime, time); 
     811        lastTime = time; 
    802812         
    803813        mStats << 
Note: See TracChangeset for help on using the changeset viewer.