Class PixelSourceStats
Represents basic instrumentation information for a single pipeline step.
Inheritance
System.Object
PixelSourceStats
Namespace: PhotoSauce.MagicScaler
Assembly: PhotoSauce.MagicScaler.dll
Syntax
public sealed class PixelSourceStats : Object
Properties
CallCount
The number of times CopyPixels(Rectangle, Int32, Span<Byte>) was invoked.
Declaration
public int CallCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
PixelCount
The total number of pixels retrieved from the IPixelSource.
Declaration
public long PixelCount { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
ProcessingTime
The total processing time of the IPixelSource in milliseconds. Note that WIC-based pixel sources will report times inclusive of upstream sources.
Declaration
public double ProcessingTime { get; }
Property Value
Type | Description |
---|---|
System.Double |
SourceName
A friendly name for the IPixelSource.
Declaration
public string SourceName { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string that represents the current object. |