Continued work on profiler
This commit is contained in:
parent
137687e446
commit
0d376171c8
6 changed files with 56 additions and 2 deletions
|
|
@ -404,4 +404,9 @@ namespace GC {
|
|||
cout << "NO FREED CHUNKS" << endl;
|
||||
}
|
||||
}
|
||||
|
||||
void Heap::set_profiler(bool mode) {
|
||||
auto heap = Heap::the();
|
||||
heap->m_profiler_enable = mode;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue