Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
profiling
03-25-2010, 08:47 PM,
#1
profiling
I have managed to compile vdrift on VC9. So I used the opportunity to test AMD CodeAnalyst on VDrift. ( I actually was interested in physics code profiling Smile )
Code:
VDrift, Windowed, 800x600, Shaders disabled, Car: 360, Track: Paul Ricard
Top 20 functions, 1215 instructions, 89.35% of samples in the module, 25.92% of total session samples
89.35% of samples in the module
70528 SCENENODE::GetCollapsedDrawList
19959 GRAPHICS_SDLGL::RENDER_INPUT_SCENE::FrustumCull
10908 GRAPHICS_SDLGL::RENDER_INPUT_SCENE::DrawList
5826 std::_Vb_const_iterator<unsigned int,int,std::vector<bool,std::allocator<bool> > >::operator+=
5093 SOUNDSOURCE::SampleAndAdvanceWithPitch16bit
5035 std::vector<bool,std::allocator<bool> >::operator[]
4333 std::_Vb_reference<unsigned int,int,std::vector<bool,std::allocator<bool> > >::_Getptr
4275 GRAPHICS_SDLGL::GLSTATEMANAGER::Set
4218 MATRIX4<float>::TransformVectorOut
3661 std::_Tree<std::_Tmap_traits<DRAWABLE_FILTER *, ...
2823 TEXTURE_GL::Activate
2227 GRAPHICS_SDLGL::RENDER_INPUT_SCENE::SelectTexturing
1894 SCENETRANSFORM::IsIdentityTransform
1829 GRAPHICS_SDLGL::RENDER_INPUT_SCENE::SelectFlags
1268 _ftol2_pentium4
1192 std::_Transform<SCENEDRAW const *, ...
1138 MATRIX4<float>::Equals
  997 QUATERNION<double>::operator*
  959 GRAPHICS_SDLGL::RENDER_INPUT_SCENE::SelectTransformStart
  891 MATRIX4<float>::Multiply
A closer look at GetCollapsedDrawList:
Code:
36.36% of module samples
14122  for (list <DRAWABLE>::const_iterator i = drawlist.begin(); i != drawlist.end(); ++i)
0        {
32113        if (mi->first->Matches(*i))    
0            {
15093            if (i->GetDrawEnable())
0                {
175                    mi->second.push_back(SCENEDRAW(*i, this_transform));
0                }
0            }
0        }
So it is run on all drawables(also the static geometry) per frame?
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)