X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgldbg.h;h=e42e4aa1d1425cb5c105bca4528d6835ad81ad77;hb=9cdca19aa017ea1711436977855e885d91e78ab0;hp=ff844518ed68f715e0e3a5036be9b7d4ab95716c;hpb=ee7f1e3a5912789664648ac5be85127e62c1cda5;p=gldbg.git diff --git a/source/gldbg.h b/source/gldbg.h index ff84451..e42e4aa 100644 --- a/source/gldbg.h +++ b/source/gldbg.h @@ -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 reg; @@ -37,9 +39,10 @@ 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(); + void quit(bool); private: void tick(); void check_child();