Mercurial > jmeCapture
diff src/com/aurellem/capture/IsoTimer.java @ 69:ddb300c5335f
fixed RatchetTimer time reporting.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Wed, 29 May 2013 17:15:41 -0400 |
parents | f5e52169f056 |
children | a67aef438383 |
line wrap: on
line diff
1.1 --- a/src/com/aurellem/capture/IsoTimer.java Thu Jul 19 12:28:55 2012 -0500 1.2 +++ b/src/com/aurellem/capture/IsoTimer.java Wed May 29 17:15:41 2013 -0400 1.3 @@ -49,15 +49,15 @@ 1.4 } 1.5 1.6 public long getResolution() { 1.7 - return (long) framerate; 1.8 + return framerate; 1.9 } 1.10 1.11 public float getFrameRate() { 1.12 - return this.framerate; 1.13 + return framerate; 1.14 } 1.15 1.16 public float getTimePerFrame() { 1.17 - return (float) (1.0f / this.framerate); 1.18 + return (float) (1.0f / framerate); 1.19 } 1.20 1.21 public void update() {this.ticks++;}