]> git.tdb.fi Git - gldbg.git/blobdiff - source/gldbg.h
Add a performance profiler
[gldbg.git] / source / gldbg.h
index 5654715c41845ffca052bbef67f936b86846ec68..e42e4aa1d1425cb5c105bca4528d6835ad81ad77 100644 (file)
@@ -15,6 +15,7 @@ Distributed under the GPL
 #include "commandinterpreter.h"
 #include "glstate.h"
 #include "process.h"
+#include "profiler.h"
 #include "tracer.h"
 
 class GlDbg: public Msp::Application
@@ -28,6 +29,7 @@ private:
        bool flushing;
        Tracer tracer;
        GlState glstate;
+       Profiler profiler;
        bool got_sigchld;
 
        static RegApp<GlDbg> reg;
@@ -37,6 +39,7 @@ public:
        int main();
        Tracer &get_tracer() { return tracer; }
        GlState &get_glstate() { return glstate; }
+       Profiler &get_profiler() { return profiler; }
        Process &get_process() { return process; }
        void launch();
        void quit(bool);