Profiler.checkpointEvent

Emit a checkpoint event.

A checkpoint event inserts the absolute time of the last event before the checkpoint. This allows reconstrucing event times from the checkpoint instead of from the start. It also inserts a zero byte into profiling data, which no other event can do. This allows to rewind profiler data without having to go all the way to the start.

Note: neither of these options is actually exploited at the moment; but they should be useful for profiling visualizers and when processing massive profiling outputs.

class Profiler
@safe pure nothrow @nogc
void
checkpointEvent
()

Meta