Profiler.this

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() ).

class Profiler
@safe nothrow
this
()

Parameters

profileBuffer ubyte[]

Buffer to write profile data to. Must be at least Profiler.maxEventBytes long.

Meta