The Controller type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Controller | Overloaded. |
Methods
| Name | Description | |
|---|---|---|
| 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.
|
Fields
| Name | Description | |
|---|---|---|
| CPU_SAMPLING | Pass this constant as a parameter of StartCPUProfiling to start CPU sampling. Please find comparison of CPU sampling and CPU tracing in the Help: http://www.yourkit.com/docs/net45/help/cpu_intro.jsp | |
| CPU_TRACING | Pass this constant as a parameter of StartCPUProfiling to start CPU tracing. Please find comparison of CPU sampling and CPU tracing in the Help: http://www.yourkit.com/docs/net45/help/cpu_intro.jsp | |
| DEFAULT_FILTERS | Pass this constant as a parameter of StartCPUProfiling to start CPU tracing with the default filters. | |
| DEFAULT_WALLTIME_SPEC | Pass this constant as a parameter of StartCPUProfiling to use the default wall time configuration. |