Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
profiling
03-25-2010, 10:37 PM,
#4
 
Here's what the profile looks like on my machine after 30 seconds in the menus and 5 minutes on Paul Ricard:

Code:
Each sample counts as 0.01 seconds.
  %   cumulative   self              self     total          
time   seconds   seconds    calls   s/call   s/call  name    
23.33      6.63     6.63 156017736     0.00     0.00  GRAPHICS_SDLGL::RENDER_INPUT_SCENE::FrustumCull(SCENEDRAW&) const
  9.41      9.31     2.67 90222322     0.00     0.00  QUATERNION<double>::operator*(QUATERNION<double> const&) const
  4.85     10.69     1.38 58049499     0.00     0.00  AABB<float>::Intersect(AABB<float>::RAY const&) const
  4.15     11.87     1.18  3331646     0.00     0.00  btQuantizedBvh::walkStacklessQuantizedTreeAgainstRay(btNodeOverlapCallback*, btVector3 const&, btVector3 const&, btVector3 const&, btVector3 const&, int, int) const
  4.08     13.03     1.16    14907     0.00     0.00  SCENENODE::GetCollapsedDrawList(std::map<DRAWABLE_FILTER*, std::vector<SCENEDRAW, std::allocator<SCENEDRAW> >, std::less<DRAWABLE_FILTER*>, std::allocator<std::pair<DRAWABLE_FILTER* const, std::vector<SCENEDRAW, std::allocator<SCENEDRAW> > > > >&, MATRIX4<float> const&) const
  3.50     14.03     0.99  6517888     0.00     0.00  CARDYNAMICS::GetWheelPositionAtDisplacement(WHEEL_POSITION, double) const
  3.20     14.94     0.91 223250134     0.00     0.00  DRAWABLE_FILTER::Matches(DRAWABLE const&) const
  3.13     15.82     0.89 94649152     0.00     0.00  GRAPHICS_SDLGL::GLSTATEMANAGER::Set(int, bool)
  2.99     16.68     0.85   432324     0.00     0.00  GRAPHICS_SDLGL::RENDER_INPUT_SCENE::DrawList(GRAPHICS_SDLGL::GLSTATEMANAGER&)
  2.76     17.46     0.79 11867239     0.00     0.00  GRAPHICS_SDLGL::RENDER_INPUT_SCENE::SelectTransformStart(SCENEDRAW&, GRAPHICS_SDLGL::GLSTATEMANAGER&)
  2.18     18.08     0.62 13613592     0.00     0.00  TEXTURE_GL::Activate() const
  1.90     18.62     0.54  1598723     0.00     0.00  CARDYNAMICS::GetWheelSteeringAndSuspensionOrientation(WHEEL_POSITION) const
  1.55     19.06     0.44 11866739     0.00     0.00  GRAPHICS_SDLGL::RENDER_INPUT_SCENE::SelectFlags(SCENEDRAW&, GRAPHICS_SDLGL::GLSTATEMANAGER&)
  1.44     19.47     0.41 13613938     0.00     0.00  std::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
  1.37     19.86     0.39 35426224     0.00     0.00  void QUATERNION<double>::RotateVector<MATHVECTOR<double, 3u> >(MATHVECTOR<double, 3u>&) const
  1.34     20.24     0.38  1229774     0.00     0.00  CARDYNAMICS::ApplyWheelForces(double, double, int, MATHVECTOR<double, 3u> const&, MATHVECTOR<double, 3u>&, MATHVECTOR<double, 3u>&)
  1.23     20.59     0.35 19758101     0.00     0.00  BEZIER::Bernstein(float, MATHVECTOR<float, 3u>*) const
  1.23     20.94     0.35  1844588     0.00     0.00  ROTATIONALFRAME<double>::RecalculateSecondary()

... etc

The hierarchical view is more interesting but it's too long for here so I put the top 100 on pastebin:
http://pastebin.com/r5RfggmV
Reply


Messages In This Thread
profiling - by NaN - 03-25-2010, 08:47 PM
[No subject] - by NaN - 03-25-2010, 08:50 PM
[No subject] - by joevenzon_phpbb2_import3 - 03-25-2010, 10:20 PM
[No subject] - by joevenzon_phpbb2_import3 - 03-25-2010, 10:37 PM
[No subject] - by joevenzon_phpbb2_import3 - 03-25-2010, 10:47 PM
[No subject] - by NaN - 03-26-2010, 03:33 AM
[No subject] - by NaN - 03-28-2010, 06:18 AM
[No subject] - by joevenzon_phpbb2_import3 - 03-28-2010, 11:48 AM
[No subject] - by NaN - 03-28-2010, 07:28 PM
[No subject] - by joevenzon_phpbb2_import3 - 03-30-2010, 10:22 AM
[No subject] - by NaN - 05-19-2010, 06:57 AM
[No subject] - by joevenzon_phpbb2_import3 - 05-20-2010, 06:42 PM
[No subject] - by NaN - 05-21-2010, 03:49 AM
[No subject] - by joevenzon_phpbb2_import3 - 05-21-2010, 12:09 PM
[No subject] - by NaN - 07-19-2010, 04:25 AM
[No subject] - by joevenzon_phpbb2_import3 - 07-19-2010, 10:36 AM
[No subject] - by NaN - 12-23-2010, 09:32 AM
[No subject] - by joevenzon_phpbb2_import3 - 12-23-2010, 09:08 PM
[No subject] - by thelusiv - 12-24-2010, 10:42 AM
[No subject] - by joevenzon_phpbb2_import3 - 12-24-2010, 01:27 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)