class_docstr: Timer.
  
  See :func:`Timer.lap()`.
class_docstr_tok: ["Timer",".","See",":","func",":","`","Timer.lap","(",")","`","."]
docstr: Calculate lap time.
  
  Returns:
      float: Lap time. The duration from the previous call of ``lap()``
           or initialization at first call.
      float: Total time. The duration from initialization.
docstr_tok: ["Calculate","lap","time",".","Returns",":","float",":","Lap","time",".","The","duration","from","the","previous","call","of","``","lap","(",")","``","or","initialization","at","first","call",".","float",":","Total","time",".","The","duration","from","initialization","."]
code: def lap(self):
      """Calculate lap time.
  
      Returns:
          float: Lap time. The duration from the previous call of ``lap()``
               or initialization at first call.
          float: Total time. The duration from initialization.
  
      """
      now = time.time()
      lap_time = now - self.lap_time
      total_time = now - self.start
      self.lap_time = now
      return lap_time, total_time
  
imports: from __future__ import print_function
  import nnabla
  import nnabla.initializer
  import sys
  import importlib
  import time
  from collections import namedtuple
  import csv
label_desc: Use image node_id 2 for calling the Timer obj's underlying member method code with example usage: obj.lap() and returns: lap_time,  total_time