Namespace: DeltaEngine.Profiling
Assembly: DeltaEngine.Profiling (in DeltaEngine.Profiling.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Profiling.Tests.CodeProfilerTests
1 unit tests call DeltaEngine.Profiling.CodeProfiler.EndFrame
Assembly: DeltaEngine.Profiling (in DeltaEngine.Profiling.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Implements
CodeProfilingProvider EndFrameRemarks
Examples
[Test] public void ProfilingWhenInactiveDoesNothing() { var profiler = new CodeProfiler { IsActive = false }; profiler.BeginFrame(); profiler.Start(ProfilingMode.Rendering, Section); profiler.Stop(ProfilingMode.Rendering, Section); profiler.EndFrame(); Assert.AreEqual(0, profiler.Sections[(int)ProfilingMode.Rendering].Count); }
See Also