code: def showFPS(texw, texh):
      """showFPS - Calculate and report texture size and frames per second
      in the window title bar (updated once per second)"""
      global frames, t0
      t = time.time()
      if (t - t0) > 1.0:
          fps = frames / (t - t0)
          titlestr = "%sx%s texture, %.1f FPS" % (texw, texh, fps)
          glfw.glfwSetWindowTitle(window, titlestr)
          t0 = t
          frames = 0
      frames += 1
  
file_path: vispy/examples/demo/gloo/jfa/jfa_translation.py
imports: import numpy
  from os import path
  from vispy.ext import glfw
  from vispy.io import load_data_file
  from OpenGL import GL
  from OpenGL import GLU
  from PIL import Image
  import time
label_desc: Use image node_id 6 for calling a global function with example usage: showFPS(texw, texh) without return types