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

[Test]
public void VerifyStaticProfilerDefaultProperties()
{
    var profiler = CodeProfiler.Current as CodeProfiler;
    Assert.AreEqual(10, profiler.MaximumPollsPerSecond);
    Assert.AreEqual(0, profiler.ResetInterval);
    Assert.IsFalse(profiler.IsActive);
}
See Also