Pass this constant as a parameter of StartCPUProfiling to start CPU sampling.

CPU sampling records CPU times only. This CPU profiling method has smallest overhead. For more detail on CPU profiling, please read the Help.

Namespace:  YourKit.Profiler.Api
Assembly:  YourKit.Profiler.Api (in YourKit.Profiler.Api.dll) Version: 4.0.9.426 (4.0.9.426)

Syntax

C#
public const long CPU_SAMPLING
Visual Basic (Declaration)
Public Const CPU_SAMPLING As Long
Visual C++
public:
literal long long CPU_SAMPLING

See Also