CodeProfilerTests ChangeMaximumPollsPerSecond 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 ChangeMaximumPollsPerSecond()
Examples

[Test]
public void ChangeMaximumPollsPerSecond()
{
    var profiler = new CodeProfiler(5);
    Assert.AreEqual(5, profiler.MaximumPollsPerSecond);
    profiler.MaximumPollsPerSecond = 2;
    Assert.AreEqual(2, profiler.MaximumPollsPerSecond);
}
See Also