Namespace: DeltaEngine.Profiling
Assembly: DeltaEngine.Profiling (in DeltaEngine.Profiling.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Profiling.Tests.SystemProfilerTests
2 unit tests call DeltaEngine.Profiling.SystemProfiler.MaximumPollsPerSecond
Assembly: DeltaEngine.Profiling (in DeltaEngine.Profiling.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Property Value
Type: Int32Implements
SystemProfilingProvider MaximumPollsPerSecondRemarks
Examples
[Test, CloseAfterFirstFrame] public void VerifyDefaultProperties() { Assert.IsFalse(SystemProfiler.Current.IsActive); Assert.AreEqual(10, SystemProfiler.Current.MaximumPollsPerSecond); Assert.IsTrue(new SystemProfiler().IsActive); Assert.AreEqual(10, new SystemProfiler().MaximumPollsPerSecond); }
[Test, CloseAfterFirstFrame] public void ChangeMaximumPollsPerSecond() { var profiler = new SystemProfiler(); profiler.MaximumPollsPerSecond = 2; Assert.AreEqual(2, profiler.MaximumPollsPerSecond); }
See Also