예제 #1
0
 public PerformanceData PushRecord(PerformanceRecord record)
 {
     PreviousRecord = CurrentRecord;
     CurrentRecord = record;
     CurrentRecord.RecordSpan = CurrentRecord.RecordTime.Subtract(PreviousRecord.RecordTime).TotalSeconds;
     return this;
 }
예제 #2
0
 public PerformanceData()
 {
     CurrentRecord = new PerformanceRecord();
 }
예제 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PerformanceData"/> class.
 /// </summary>
 public PerformanceData()
 {
     CurrentRecord = new PerformanceRecord();
 }