Class PerformanceStatistics
public class PerformanceStatistics
Constructors
Declaration
public PerformanceStatistics()
Properties
Declaration
public double CurrentMemoryUsageInGB { get; set; }
Property Value
Type |
Description |
System.Double |
|
Declaration
public double EnergyCalcTimeInMinutes { get; set; }
Property Value
Type |
Description |
System.Double |
|
Declaration
public double EnergyCalcTimePer10KInMinutes { get; set; }
Property Value
Type |
Description |
System.Double |
|
Declaration
public double ExtraMemoryFromBaselineInGB { get; set; }
Property Value
Type |
Description |
System.Double |
|
Declaration
public double ExtraMemoryPer10KInGB { get; set; }
Property Value
Type |
Description |
System.Double |
|
Declaration
public double MemoryBeforeCalculationStartsInGB { get; set; }
Property Value
Type |
Description |
System.Double |
|
Declaration
public double PeakMemoryUsageInGB { get; set; }
Property Value
Type |
Description |
System.Double |
|
Declaration
public double ShadingTimeInMinutes { get; set; }
Property Value
Type |
Description |
System.Double |
|
Declaration
public double ShadingTimePer10KInMinutes { get; set; }
Property Value
Type |
Description |
System.Double |
|
Declaration
public double TotalTimeInMinutes { get; set; }
Property Value
Type |
Description |
System.Double |
|
Methods
Declaration
public bool Equals(PerformanceStatistics val)
Parameters
Returns
Type |
Description |
System.Boolean |
True if equal otherwise false is returned.
|
Declaration
public override bool Equals(object toCompare)
Parameters
Type |
Name |
Description |
System.Object |
toCompare |
|
Returns
Type |
Description |
System.Boolean |
True if object is equal otherwise false is returned.
|
Overrides
System.Object.Equals(System.Object)
Gets the hash code for this object.
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
The hash code for this object.
|
Overrides
System.Object.GetHashCode()
Loads (deserializes) the performance statistics object from the XML file.
Declaration
public static PerformanceStatistics LoadFromFile(string xmlFilePath)
Parameters
Type |
Name |
Description |
System.String |
xmlFilePath |
The XML file path containing the PerformanceStatistics object data.
|
Returns
Saves (serializes) the performance statistics object to an XML file.
Declaration
public void SaveToFile(string xmlFilePath)
Parameters
Type |
Name |
Description |
System.String |
xmlFilePath |
The XML file path.
|
Operators
Declaration
public static bool operator ==(PerformanceStatistics a, PerformanceStatistics b)
Parameters
Returns
Type |
Description |
System.Boolean |
True if equal otherwise false is returned.
|
Declaration
public static bool operator !=(PerformanceStatistics a, PerformanceStatistics b)
Parameters
Returns
Type |
Description |
System.Boolean |
True if not equal otherwise false is returned.
|