code: def transfer_latency(queue, transfer_type, timer_factory=None):
      transfer = transfer_type(queue, 1)
      return _get_time(queue, transfer.do, timer_factory=timer_factory)
  
imports: import pyopencl
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: transfer_latency(queue, transfer_type, timer_factory) and returns: _get_time