|
@ -7,8 +7,8 @@ namespace SemiColinGames { |
|
|
private readonly Stopwatch stopwatch = new Stopwatch(); |
|
|
private readonly Stopwatch stopwatch = new Stopwatch(); |
|
|
private readonly double targetTime; |
|
|
private readonly double targetTime; |
|
|
private readonly string name; |
|
|
private readonly string name; |
|
|
|
|
|
private readonly int[] histogram = new int[21]; |
|
|
private double startTime = 0.0; |
|
|
private double startTime = 0.0; |
|
|
private int[] histogram = new int[21]; |
|
|
|
|
|
private int totalFrames = 0; |
|
|
private int totalFrames = 0; |
|
|
|
|
|
|
|
|
public Timer(double targetTime, string name) { |
|
|
public Timer(double targetTime, string name) { |
|
|