SystemProfilerTests LogMultipleSetsOfInfo 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 LogMultipleSetsOfInfo()
Examples

[Test, CloseAfterFirstFrame]
public void LogMultipleSetsOfInfo()
{
    var profiler = new SystemProfiler();
    profiler.Log(ProfilingMode.Fps | ProfilingMode.AvailableRam, systemInformation);
    Assert.AreEqual(1, profiler.GetProfilingResults(ProfilingMode.Fps).Calls);
    Assert.AreEqual(1, profiler.GetProfilingResults(ProfilingMode.AvailableRam).Calls);
}
See Also