       @trigger('movie-finished')
 
       if @options.benchmark
-        now = (new Date).getTime()
-        console.log "finished in #{(now - @startTime) / 1000.0}s"
+        console.log "finished in #{(@now() - @startedAt) / 1000.0}s"
 
       false
 

  reset: ->
    @frameNo = 0
    @dataIndex = 0
    @playedTimeSum = 0
    @playing = false
    @lastFrameTime = undefined
    @timeElapsedBeforePause = undefined
    @framesProcessed = 0

  isLoaded: ->
    @model.get('escaped_stdout_data') != undefined

    return if @isPlaying()

    @playing = true
    @resumedAt = @now()
    frame = @timing()[@frameNo]
    [delay, count] = frame
    delayMs = delay * 1000
    delayLeft = delayMs - @totalFrameWaitTime
    @processFrameWithDelay(delayLeft)
    @trigger('movie-playback-resumed')

  togglePlay: ->
