A high-resolution time gauge to measure the kernel time.
Namespace:
ceometric.VectorGeometryAssembly: ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.8.0.0 (1.8.0.0)
Syntax
C# |
---|
public class KernelTimeGauge |
Visual Basic (Declaration) |
---|
Public Class KernelTimeGauge |
Visual C++ |
---|
public ref class KernelTimeGauge |
Remarks
This time gauge precisely measures the kernel time using the Kernel32.dll
high-resolution performance counter.
Examples
Use the kernel time gauge for performance tests:
CopyC#
KernelTimeGauge ktg = new KernelTimeGauge(); ktg.Start(); // do something that takes a while... ktg.Stop(); Console.WriteLine(ktg.ToString());