Construct a Profiler writing profiling data to specified buffer.
Profiler doesn't allocate heap memory. It will write profiling data into given
buffer until it runs out of space, at which point it will silently stop profiling
(this can be detected by outOfSpace() ).
Construct a Profiler writing profiling data to specified buffer.
Profiler doesn't allocate heap memory. It will write profiling data into given buffer until it runs out of space, at which point it will silently stop profiling (this can be detected by outOfSpace() ).