DkmPerformanceCounters.Create Method

Definition

Create a new DkmPerformanceCounters object instance.

This API was introduced in Visual Studio 14 RTM (DkmApiVersion.VS14RTM).

public:
 static Microsoft::VisualStudio::Debugger::DkmPerformanceCounters ^ Create(System::UInt32 StartStopCounter, System::UInt64 SystemTime, System::UInt64 UserTime, System::UInt64 KernelTime, System::UInt64 RuntimeOverhead, System::UInt64 OSOverhead, System::UInt64 TotalOverhead, System::UInt64 Id);
public:
 static Microsoft::VisualStudio::Debugger::DkmPerformanceCounters ^ Create(unsigned int StartStopCounter, unsigned long long SystemTime, unsigned long long UserTime, unsigned long long KernelTime, unsigned long long RuntimeOverhead, unsigned long long OSOverhead, unsigned long long TotalOverhead, unsigned long long Id);
 static Microsoft::VisualStudio::Debugger::DkmPerformanceCounters Create(unsigned int StartStopCounter, unsigned long SystemTime, unsigned long UserTime, unsigned long KernelTime, unsigned long RuntimeOverhead, unsigned long OSOverhead, unsigned long TotalOverhead, unsigned long Id);
public static Microsoft.VisualStudio.Debugger.DkmPerformanceCounters Create (uint StartStopCounter, ulong SystemTime, ulong UserTime, ulong KernelTime, ulong RuntimeOverhead, ulong OSOverhead, ulong TotalOverhead, ulong Id);
static member Create : uint32 * uint64 * uint64 * uint64 * uint64 * uint64 * uint64 * uint64 -> Microsoft.VisualStudio.Debugger.DkmPerformanceCounters
Public Shared Function Create (StartStopCounter As UInteger, SystemTime As ULong, UserTime As ULong, KernelTime As ULong, RuntimeOverhead As ULong, OSOverhead As ULong, TotalOverhead As ULong, Id As ULong) As DkmPerformanceCounters

Parameters

StartStopCounter
UInt32

[In] Number of performance watch start/stop iterations. If this number is high then performance data is not reliable.

SystemTime
UInt64

[In] System time (in milliseconds) consumed by debuggee process during debugger step.

UserTime
UInt64

[In] User time (in milliseconds) consumed by debuggee process during debugger step.

KernelTime
UInt64

[In] Kernel time (in milliseconds) consumed by debuggee process during debugger step.

RuntimeOverhead
UInt64

[In] System time (in milliseconds) considered to be the runtime overhead during debugger step. SystemTime value does not contain this overhead.

OSOverhead
UInt64

[In] System time (in milliseconds) considered to be the OS overhead during debugger step. SystemTime value does not contain this overhead.

TotalOverhead
UInt64

[In] System time (in milliseconds) considered to be the total overhead during debugger step. SystemTime value does not contain this overhead. Runtime overhead

  • OS overhead value might be greater than TotalOverhead if they are overlapping.
Id
UInt64

[In] Id based on the QPC time to co-relate debugger events in the Concord and package.

Returns

[Out] Result of this method call.

Applies to