`Clock` Class
==============================================================

.. template class.rst

.. currentmodule:: pyglet.clock

.. inheritance-diagram:: Clock

.. autoclass:: Clock








Methods
-------

.. autosummary::

   ~Clock.__init__
   ~Clock.call_scheduled_functions
   ~Clock.get_fps
   ~Clock.get_fps_limit
   ~Clock.get_sleep_time
   ~Clock.schedule
   ~Clock.schedule_interval
   ~Clock.schedule_interval_soft
   ~Clock.schedule_once
   ~Clock.set_fps_limit
   ~Clock.sleep
   ~Clock.tick
   ~Clock.unschedule
   ~Clock.update_time





   
Attributes
----------

.. autosummary::

   ~Clock.MIN_SLEEP
   ~Clock.SLEEP_UNDERSHOOT



..

.. rubric:: Descriptions

.. class:: Clock









   .. rubric:: Method details



   .. automethod:: __init__

   .. automethod:: call_scheduled_functions

   .. automethod:: get_fps

   .. automethod:: get_fps_limit

   .. automethod:: get_sleep_time

   .. automethod:: schedule

   .. automethod:: schedule_interval

   .. automethod:: schedule_interval_soft

   .. automethod:: schedule_once

   .. automethod:: set_fps_limit

   .. automethod:: tick

   .. automethod:: unschedule

   .. automethod:: update_time






   .. rubric:: Attribute details



   .. autoattribute:: MIN_SLEEP

   .. autoattribute:: SLEEP_UNDERSHOOT









   .. rubric:: Inherited member details









   .. automethod:: sleep
      :noindex:








