'Declaration
Public ReadOnly Property SamplingType As SamplingType
public SamplingType SamplingType {get;}
'Declaration
Public ReadOnly Property SamplingType As SamplingType
public SamplingType SamplingType {get;}
Depending on how your application can conveniently aggregate data, select the matching sampling type. For example, consider a metric designed to record disk utilization in bytes / second. This can be done by:
Fraction Sampling Formats
When you want to record a metric that represents a percentage, such as percent utilization, it's often easiest to record the individual metric samples with both parts of the fraction used to derive the percentage. For example, consider a metric designed to record percent disk utilization (as a percentage of working time). This can be done by:
The advantage of the fractional sampling types over simply doing the division yourself is primarily the additional safety aspects built into Loupe (such as division by zero protection) and automatic, accurate extrapolation to different sampling intervals (such as when samples are recorded once per second but you want to view them on a longer interval)
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2