Search Results for

    Show / Hide Table of Contents

    Namespace SciTech.NetMemProfiler

    Classes

    AllocationsInfo

    Contains information about allocations that has been performed between two memory snapshots.

    AllowInstancesAttribute

    Indicates that instances of the specified types are allowed to exist after the target method has been executed.

    AllowNewInstancesAttribute

    Indicates that new instances of the specified types are allowed to exist after the target method has been executed.

    AssertionAttribute

    Represents the base class for all memory assertion attributes.

    AssertionsDefinition

    Defines the expected memory usage of operations performed between two heap snapshots.

    InstancesInfo

    Contains information about live instances in a memory usage snapshot retrieved using MemProfiler.GetMemoryUsage

    MaxAllocatedBytesAttribute

    Checks that no more than a specific number of bytes are allocated by the target method.

    MaxAllocationsAttribute

    Checks that no more than a specific number of allocations are performed by the target method.

    MaxBytesAttribute

    Checks that no more than a specific number of bytes exist after the target method has been executed.

    MaxInstancesAttribute

    Checks that no more than a specific number of instances exist after the target method has been executed.

    MaxNewBytesAttribute

    Checks that no more than a specific number of new bytes exist after the target method has been executed.

    MaxNewInstancesAttribute

    Checks that no more than a specific number of new instances exist after the target method has been executed.

    MemAssertion

    The MemAssertion class provides static methods for making assertions about the memory usage of the profiled process.

    MemoryUsage

    Provides access to memory usage between two memory snapshots.

    MemProfiler

    The MemProfiler class provides static methods for interacting with the profiler, from within the profiled process.

    MemSnapshot

    The MemSnapshot class represents a snapshot of the garbage collected heap. It is returned by FastSnapshot() and FullSnapshot(Boolean). It can be used as a reference snapshot in calls to the MemAssertion methods.

    NoInstancesAttribute

    Checks that no instances of the specified types exists after the target method has been executed.

    NoNewInstancesAttribute

    Checks that no new instances of the specified types exists after the target method has been executed.

    TypeSet

    The TypeSet class is used to define an immutable set of System.Types that can be used when building an AssertionsDefinition.

    Structs

    ActiveTest

    Represents a test that has been started using MemProfiler.BeginTest. Disposing this object is the equivalent of calling EndTest().

    MemAssertion.AssertionsSession

    AssertionsSession represents an assertions session started by a call to BeginAssertions().

    By disposing an AssertionsSession instance the memory assertions session will be ended.

    Enums

    AssertionsThread

    This enum defines the possible values for the assertionsThread parameter to the assertion methods MemAssertion.NoNewInstances and MemAssertion.NoNewInstancesExcept.

    In This Article
    Back to top

    © Copyright 2002-2020. SciTech Software AB.
    For information about .NET Memory Profiler, see the product site at https://memprofiler.com