Show / Hide Table of Contents

Method perf.Instance.Dispose


Overload

Calls perf.Instance.NW, which calls perf.Instance.Next and perf.Instance.Write.

public void Dispose()
Implements
IDisposable.Dispose()

Remarks

Don't need to dispose variables of this type. This function just allows to use using instead of NW. See example.

If perf.Instance.Incremental, calls just perf.Instance.Write.

Examples

using(var p1 = perf.local()) { //p1.First();
	1.ms();
	p1.Next();
	1.ms();
} //p1.NW();