Class Diagnostics

This static class provides functions useful when doing diagnostics, such as how long a process took and how much memory it used.

System.Object
  Stonefield.Library.Diagnostics
public class Diagnostics : object

Class Members

MemberDescription

Constructor

End

Ends the diagnostics and sets MemoryUsed and ElapsedTime.

public void End()

Start

Starts the diagnostics for a process.

public void Start()

ElapsedTime

The amount of time a process took.

MemoryUsed

The amount of memory used for a process.

Requirements

Namespace: Stonefield.Library
Assembly: library.dll