PixelMemoryTracker Class |
Namespace: Atalasoft.Imaging.Memory
The PixelMemoryTracker type exposes the following members.
| Name | Description | |
|---|---|---|
| HighWatermark | Sets or gets a trigger point for memory events. | |
| Memory | Returns a singleton object used for tracking memory. | |
| MemoryInUse | Indicates the total amount of memory in use by AtalaImage objects. |
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MemoryAllocated(IntPtr, Int64) | This method is used to report an allocation of image memory. | |
| MemoryAllocated(Object, Int64) |
Report than an object has allocated memory.
| |
| MemoryFreed(IntPtr) | Reports a block of memory as free. | |
| MemoryFreed(Object) |
Marks memory as free
| |
| MemoryReallocated | This method is used to report when a block of allocated image memory has been reallocated. | |
| OnDroppedBelowHighWatermark | This method handles when memory usage has dropped below the high water mark. | |
| OnExceededHighWatermark | This method handles when memory usage has exceeded the high water mark | |
| OnMemoryInUseChanged | This method handles when memory usage has changed in some way | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| DroppedBelowHighWatermark | This event is fired is MemoryInUse drops below the HighWatermark property of PixelMemoryTracker | |
| ExceededHighWatermark | This event is fired is MemoryInUse exceeds the HighWatermark property of PixelMemoryTracker | |
| MemoryInUseChanged | An event for reporting changes in the current memory use. |