ControllerStartTracing Method
|
Namespace:
YourKit.Profiler.Api
Assembly:
YourKit.Profiler.Api (in YourKit.Profiler.Api.dll) Version: 2025.3.143
Syntaxpublic void StartTracing(
CpuProfilingSettings settings
)
Public Sub StartTracing (
settings As CpuProfilingSettings
)
public:
void StartTracing(
CpuProfilingSettings^ settings
)
member StartTracing :
settings : CpuProfilingSettings -> unit
Parameters
- settings
- Type: YourKit.Profiler.ApiCpuProfilingSettings
CPU tracing settings.
ExceptionsException | Condition |
---|
Exception |
If CPU profiling cannot be started. Possible reasons:
-
CPU tracing has been disabled for the profiled application
-
the profiled application has terminated
-
I/O error
|
Remarks
When tracing is used, the profiler intercepts method invocations of the profiled application
for recording time spent inside each profiled method.
Both times and invocation counts are available.
If CPU profiling is already running, it will reset and start anew.
See Also