Started working on a custom profiler
This commit is contained in:
parent
4f9aaaf8b4
commit
137687e446
8 changed files with 158 additions and 28 deletions
32
src/GC/lib/event.cpp
Normal file
32
src/GC/lib/event.cpp
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
#include <chrono>
|
||||
#include <iostream>
|
||||
#include <list>
|
||||
|
||||
#include "chunk.hpp"
|
||||
#include "event.hpp"
|
||||
#include "heap.hpp"
|
||||
|
||||
using namespace std;
|
||||
|
||||
namespace GC {
|
||||
|
||||
GCEventType GCEvent::getType() {
|
||||
return m_type;
|
||||
}
|
||||
|
||||
TimeStamp GCEvent::getTimeStamp() {
|
||||
return m_timestamp;
|
||||
}
|
||||
|
||||
Chunk *GCEvent::getChunk() {
|
||||
return m_chunk;
|
||||
}
|
||||
|
||||
void GCEvent::printShort() {
|
||||
assert(false && "TODO: unimplemented");
|
||||
}
|
||||
|
||||
void GCEvent::printFull() {
|
||||
assert(false && "TODO: unimplemented");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue