code: def stop(self):
      from time import time
  
      self.queue.finish()
      self.end_time = time()
  
imports: import pyopencl
  import numpy
label_desc: Use image node_id 2 for calling the WallTimer obj's underlying member method code with example usage: obj.stop() without return types