Profiling Time
I am just learning how to profile my stuff (well, not really learn as found the feature 8-) ).
I was wondering if someone could help me with a simple problem.
My question is this: Is the "func time" thats listed the total time it took to execute one loop through a function, the average time through the function, or the total time spent in the function throughout program execution?
I don''t think its the total time for just one loop because I ran a program and it stated that it ran for
Total time: 1862.355 millisecond
I also had a function that said this:
26.455 1.4 28.210 1.5 1570 F3D_Engine::WalkBSPNode
with a bit taken off the end (function parameters) cause it was too long and I didn''t like it so I did it. Ok? I did. Deal with it.
Anyways, 26.455 seems long to stay in the loop for one time and I did another run with it for a bit longer and I got 132.something and that seemed really high. So I figured it couldn''t be that long because I am only drawing 7 polys in a BSP so there are probably about 10 or so. I am also pulling the highest frames I can with my current setup which is 150. It also seemed high because if this is how long one loop takes and you multiply that bye 1570 which is the total number of hits, it comes out to way above the total program execution which is impossible.
Anyone want to explain what I am missing here? That would rule
Thanks
Shawn
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement