def METHOD_NAME(*args):
    from kivy.core.window import Window
    from kivymd.utils.fpsmonitor import FpsMonitor
    monitor = FpsMonitor(anchor=anchor)
    monitor.start()
    Window.add_widget(monitor)