The Controller type exposes the following members.

Methods

  NameDescription
CaptureSnapshot

Captures snapshot, i.e. writes collected profiling information to file.

If CPU profiling is being performed, it will not stop after the capture. To stop it, explicitly call StopCPUProfiling.

GetHost
Returns name of host where controlled profiled application is running. The method never returns null.
GetPort
Returns port profiler agent listens on.
StartCPUProfiling
Start CPU profiling.
StopCPUProfiling
Stop CPU profiling. If CPU profiling is not running, this method takes no action.

See Also