ProfDataSource

Base class for profiling data sources.

For now, the only implementation reads profile data from stdin. (Profiled application launches despiker and writes to its stdin through a pipe).

Note: Must be destroyed manually (or thrugh std.typecons.scoped, etc.). A ProfDataSource may contain resources (threads, sockets, file handles) that must be freed.

abstract
class ProfDataSource {}

Members

Functions

receiveChunk
bool receiveChunk(out ProfileDataChunk chunk)

Try to receive a _chunk of profiling data.

Meta