SystemProfilerTests CompareProfilerToSameResult Method Delta Engine Documentation

Namespace: DeltaEngine.Profiling.Tests
Assembly: DeltaEngine.Profiling.Tests (in DeltaEngine.Profiling.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void CompareProfilerToSameResult()
Examples

[Test, CloseAfterFirstFrame]
public void CompareProfilerToSameResult()
{
    var profiler = new SystemProfiler();
    profiler.Log(ProfilingMode.Fps, systemInformation);
    SystemProfilerSection results = profiler.GetProfilingResults(ProfilingMode.Fps);
    Assert.AreEqual(0, results.CompareTo(results));
}
See Also