Work on the profiler
This commit is contained in:
parent
cdc802476d
commit
51765f4d0c
6 changed files with 101 additions and 49 deletions
|
|
@ -23,9 +23,11 @@ namespace GC {
|
|||
inline static Profiler *m_instance = nullptr;
|
||||
std::vector<GCEvent *> m_events;
|
||||
|
||||
std::ofstream createFileStream();
|
||||
|
||||
public:
|
||||
static void record(GCEventType type);
|
||||
static void record(GCEventType type, Chunk *chunk);
|
||||
static void printTrace();
|
||||
static void dumpTrace();
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue