diff --git a/src/CCapture.js b/src/CCapture.js index 7fb3934..b6f8ef7 100755 --- a/src/CCapture.js +++ b/src/CCapture.js @@ -921,12 +921,24 @@ function CCapture( settings ) { } + function _getTiming() { + + return { + framecount: _frameCount, + intermediateframecount: _intermediateFrameCount, + time: _time, + performancetime: _performanceTime + }; + + } + return { start: _start, capture: _capture, stop: _stop, save: _save, - on: _on + on: _on, + getTiming: _getTiming } }