Changeset 1292 for GTP/trunk/Lib/Vis/Preprocessing/src/RssPreprocessor.cpp
- Timestamp:
- 08/28/06 21:13:40 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/RssPreprocessor.cpp
r1283 r1292 503 503 504 504 long startTime = GetTime(); 505 long lastTime; 506 float totalTime; 505 507 506 508 int totalSamples = 0; … … 602 604 mViewCellsManager->ComputeSampleContributions(mVssRays, true, false); 603 605 cout<<"done.\n"<<flush; 606 607 long time = GetTime(); 608 totalTime = TimeDiff(startTime, time)*1e-3; 609 lastTime = time; 604 610 605 611 mStats << 606 612 "#Pass\n" <<mPass<<endl<< 607 613 "#RssPass\n" <<rssPass<<endl<< 608 "#Time\n" << TimeDiff(startTime, GetTime())*1e-3<<endl<<614 "#Time\n" << totalTime <<endl<< 609 615 "#TotalSamples\n" <<totalSamples<<endl<< 610 616 "#RssSamples\n" <<rssSamples<<endl; … … 748 754 749 755 // now evaluate the ratios for the next pass 750 #define TIMES 0756 #define TIMES 1 751 757 752 758 #if TIMES … … 800 806 mInitialSamples)<<"%\n"; 801 807 808 809 long time = GetTime(); 810 totalTime += TimeDiff(lastTime, time); 811 lastTime = time; 802 812 803 813 mStats <<
Note: See TracChangeset
for help on using the changeset viewer.