Class Performance
Inherited Members
Namespace: Mapsui.Utilities
Assembly: Mapsui.dll
Syntax
public class Performance
Constructors
| Edit this page View SourcePerformance(int)
Declaration
public Performance(int maxValues = 20)
Parameters
Type | Name | Description |
---|---|---|
int | maxValues |
Properties
| Edit this page View SourceCount
Counter for number of redraws of map
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
int |
DrawingTimes
Get list of all drawing times
Declaration
public List<double> DrawingTimes { get; }
Property Value
Type | Description |
---|---|
List<double> |
Remarks
First entry is the newest time
Dropped
Number of dropped frames, because the screen is already updated
Declaration
public int Dropped { get; set; }
Property Value
Type | Description |
---|---|
int |
FPS
Possible frames per second calculated from Mean
Declaration
public int FPS { get; }
Property Value
Type | Description |
---|---|
int |
LastDrawingTime
Time be used for the last drawing
Declaration
public double LastDrawingTime { get; }
Property Value
Type | Description |
---|---|
double |
Max
Maximal drawing time
Declaration
public double Max { get; }
Property Value
Type | Description |
---|---|
double |
MaxValues
MaxValues of drawing times that are saved and used for mean value
Declaration
public int MaxValues { get; }
Property Value
Type | Description |
---|---|
int |
Mean
Mean value of all MaxValues drawing times
Declaration
public double Mean { get; }
Property Value
Type | Description |
---|---|
double |
Min
Minimal drawing time
Declaration
public double Min { get; }
Property Value
Type | Description |
---|---|
double |
Methods
| Edit this page View SourceAdd(double)
Add next drawing time
Declaration
public void Add(double time)
Parameters
Type | Name | Description |
---|---|---|
double | time |
Clear()
Clear all existing values up to now
Declaration
public void Clear()