Changeset 2588 for GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
- Timestamp:
- 01/10/08 13:17:34 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
r2586 r2588 25 25 #include "SceneGraph.h" 26 26 27 #ifdef PERFTIMER27 #ifdef USE_PERFTIMER 28 28 #include "Timer/PerfTimer.h" 29 #endif // PERFTIMER29 #endif // USE_PERFTIMER 30 30 31 31 #define USE_RAY_LENGTH_AS_CONTRIBUTION 0 … … 43 43 44 44 45 #ifdef PERFTIMER45 #ifdef USE_PERFTIMER 46 46 PerfTimer viewCellCastTimer; 47 47 PerfTimer pvsTimer; … … 1083 1083 int id; 1084 1084 1085 #ifdef PERFTIMER1085 #ifdef USE_PERFTIMER 1086 1086 PerfTimer boxTimer; 1087 1087 … … 1099 1099 1100 1100 1101 #ifdef PERFTIMER1101 #ifdef USE_PERFTIMER 1102 1102 boxTimer.Exit(); 1103 1103 … … 2128 2128 } 2129 2129 2130 #ifdef PERFTIMER2130 #ifdef USE_PERFTIMER 2131 2131 cout << "view cell cast time: " << viewCellCastTimer.TotalTime() << " s" << endl; 2132 2132 Debug << "view cell cast time: " << viewCellCastTimer.TotalTime() << " s" << endl; … … 2896 2896 ViewCell::NewMail(); 2897 2897 2898 #ifdef PERFTIMER2898 #ifdef USE_PERFTIMER 2899 2899 viewCellCastTimer.Entry(); 2900 2900 #endif … … 2917 2917 } 2918 2918 2919 #ifdef PERFTIMER2919 #ifdef USE_PERFTIMER 2920 2920 viewCellCastTimer.Exit(); 2921 2921 #endif … … 2938 2938 Intersectable *terminationObj; 2939 2939 2940 #ifdef PERFTIMER2940 #ifdef USE_PERFTIMER 2941 2941 objTimer.Entry(); 2942 2942 #endif … … 2944 2944 terminationObj = ray.mTerminationObject; 2945 2945 2946 #ifdef PERFTIMER2946 #ifdef USE_PERFTIMER 2947 2947 objTimer.Exit(); 2948 2948 … … 2972 2972 { 2973 2973 if (rand() < (RAND_MAX / 10)) 2974 cout << "rayd: " /*<< ray.GetOrigin() << " " << ray.GetTermination() << " "*/ << Normalize(ray.GetDir()) << " " << endl;2974 // cout << "rayd: " /*<< ray.GetOrigin() << " " << ray.GetTermination() << " "*/ << Normalize(ray.GetDir()) << " " << endl; 2975 2975 mVizBuffer.AddRay(&ray); 2976 2976 } 2977 2977 #endif 2978 #ifdef PERFTIMER2978 #ifdef USE_PERFTIMER 2979 2979 pvsTimer.Exit(); 2980 2980 #endif … … 7223 7223 CLEAR_CONTAINER(tmpRays); 7224 7224 7225 #ifdef PERFTIMER7225 #ifdef USE_PERFTIMER 7226 7226 cout << "view cell cast time: " << viewCellCastTimer.TotalTime() << " s" << endl; 7227 7227 Debug << "view cell cast time: " << viewCellCastTimer.TotalTime() << " s" << endl;
Note: See TracChangeset
for help on using the changeset viewer.