Does the profiler work?
by Josh Albrecht · in Torque Game Engine · 05/21/2003 (3:26 pm) · 4 replies
I added
#ifndef ENABLE_PROFILER
#define ENABLE_PROFILER
#endif
to the top of the profiler.h file, but when I try to use profilerDump(); in the console, I get a ton of -1.#IO for all the values, rather than number that make sense. What am I doing wrong? Is the profiler broken?
(Note: I have the HEAD release as of two or three weeks ago)
#ifndef ENABLE_PROFILER
#define ENABLE_PROFILER
#endif
to the top of the profiler.h file, but when I try to use profilerDump(); in the console, I get a ton of -1.#IO for all the values, rather than number that make sense. What am I doing wrong? Is the profiler broken?
(Note: I have the HEAD release as of two or three weeks ago)
#2
05/21/2003 (7:07 pm)
I tried that... same result. Does anyone else have any insight? :/
#3
Well, at least it works now. :)
05/21/2003 (7:23 pm)
Doh... I didnt realize you needed to call profilerEnable(1); in the console before trying to dump it... Well, at least it works now. :)
#4
05/22/2003 (10:42 am)
Ah. Yes, that'd do it too. ;-)
Associate James Lupiani
Sickhead Games