Re: [Doris] Doris profiling
Brought to you by:
trout
|
From: Nick T. <nic...@sh...> - 2004-10-17 18:05:54
|
> I did some profiling of Doris because its running like a dog at the
moment.
Okay, I've done some selective inlining of vector constructors and
assignment functions, made the teapot a call list and this seems to have has
an effect. What does glutSetWindow do that it's the top abuser?!
simple.lua script:
Func Func+Child Hit
Time % Time % Count Function
---------------------------------------------------------
2246.281 27.6 2246.281 27.6 10022 _glutSetWindow@4 (glut32.dll)
1592.583 19.6 1593.201 19.6 204 tolua_gl_glCallList00(struct
lua_State *) (glbind.obj)
1277.548 15.7 2975.329 36.6 204 Window::display(void)
(doriswin.obj)
500.402 6.2 7446.505 91.6 1 _glutMainLoop@0 (glut32.dll)
315.488 3.9 315.488 3.9 1220
GLUI_Main::s_finish_drawing(void) (glui_main.obj)
314.137 3.9 314.137 3.9 1011
GLUI_Rotation::setup_texture(void) (glui_rotation.obj)
301.665 3.7 301.665 3.7 1 ___glutCreateWindowWithExit@8
(glut32.dll)
279.178 3.4 1807.712 22.2 526
GLUI_Master_Object::glui_motion_func(int,int) (glui_master_object.obj)
110.522 1.4 110.522 1.4 1011
GLUI_Rotation::draw_ball(float) (glui_rotation.obj)
100.715 1.2 100.715 1.2 6792 _glutBitmapCharacter@8
(glut32.dll)
98.585 1.2 98.585 1.2 1011
GLUI_Rotation::iaction_draw_active_area_ortho(void) (glui_rotation.obj)
|