22 #ifndef DIRECTOR_LINGO_LINGO_PROFILER_H 23 #define DIRECTOR_LINGO_LINGO_PROFILER_H 25 #include "common/array.h" 26 #include "common/hashmap.h" 27 #include "common/hash-str.h" 28 #include "common/str.h" 29 #include "common/str-array.h" 33 enum ProfilerEventType {
55 bool isEnabled()
const {
return _enabled; }
56 void setEnabled(
bool enabled) { _enabled = enabled; }
67 bool isFull()
const {
return _full; }
68 uint32 maxEvents()
const {
return _maxEvents; }
72 void record(uint8 type, uint32 nameId);
85 const void *_lastMoviePtr;
Definition: lingo-profiler.h:41
Definition: lingo-profiler.h:51