# {py:mod}`simvx.graphics.gpu.timestamp_pool` ```{py:module} simvx.graphics.gpu.timestamp_pool ``` ```{autodoc2-docstring} simvx.graphics.gpu.timestamp_pool :allowtitles: ``` ## Module Contents ### Classes ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`TimestampPool ` - ```{autodoc2-docstring} simvx.graphics.gpu.timestamp_pool.TimestampPool :summary: ``` ```` ### Data ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`__all__ ` - ```{autodoc2-docstring} simvx.graphics.gpu.timestamp_pool.__all__ :summary: ``` * - {py:obj}`log ` - ```{autodoc2-docstring} simvx.graphics.gpu.timestamp_pool.log :summary: ``` ```` ### API ````{py:data} __all__ :canonical: simvx.graphics.gpu.timestamp_pool.__all__ :value: > ['TimestampPool'] ```{autodoc2-docstring} simvx.graphics.gpu.timestamp_pool.__all__ ``` ```` ````{py:data} log :canonical: simvx.graphics.gpu.timestamp_pool.log :value: > 'getLogger(...)' ```{autodoc2-docstring} simvx.graphics.gpu.timestamp_pool.log ``` ```` `````{py:class} TimestampPool(device: typing.Any, physical_device: typing.Any, max_labels: int = 64) :canonical: simvx.graphics.gpu.timestamp_pool.TimestampPool ```{autodoc2-docstring} simvx.graphics.gpu.timestamp_pool.TimestampPool ``` ```{rubric} Initialization ``` ```{autodoc2-docstring} simvx.graphics.gpu.timestamp_pool.TimestampPool.__init__ ``` ````{py:attribute} __slots__ :canonical: simvx.graphics.gpu.timestamp_pool.TimestampPool.__slots__ :value: > ('device', 'physical_device', 'max_labels', 'ns_per_tick', 'pool', '_labels', '_next_index') ```{autodoc2-docstring} simvx.graphics.gpu.timestamp_pool.TimestampPool.__slots__ ``` ```` ````{py:method} reset(cmd: typing.Any) -> None :canonical: simvx.graphics.gpu.timestamp_pool.TimestampPool.reset ```{autodoc2-docstring} simvx.graphics.gpu.timestamp_pool.TimestampPool.reset ``` ```` ````{py:method} begin(cmd: typing.Any, label: str) -> None :canonical: simvx.graphics.gpu.timestamp_pool.TimestampPool.begin ```{autodoc2-docstring} simvx.graphics.gpu.timestamp_pool.TimestampPool.begin ``` ```` ````{py:method} end(cmd: typing.Any, label: str) -> None :canonical: simvx.graphics.gpu.timestamp_pool.TimestampPool.end ```{autodoc2-docstring} simvx.graphics.gpu.timestamp_pool.TimestampPool.end ``` ```` ````{py:method} read_results() -> dict[str, float] :canonical: simvx.graphics.gpu.timestamp_pool.TimestampPool.read_results ```{autodoc2-docstring} simvx.graphics.gpu.timestamp_pool.TimestampPool.read_results ``` ```` ````{py:method} destroy() -> None :canonical: simvx.graphics.gpu.timestamp_pool.TimestampPool.destroy ```{autodoc2-docstring} simvx.graphics.gpu.timestamp_pool.TimestampPool.destroy ``` ```` ````{py:method} __enter__() -> simvx.graphics.gpu.timestamp_pool.TimestampPool :canonical: simvx.graphics.gpu.timestamp_pool.TimestampPool.__enter__ ```{autodoc2-docstring} simvx.graphics.gpu.timestamp_pool.TimestampPool.__enter__ ``` ```` ````{py:method} __exit__(exc_type: typing.Any, exc: typing.Any, tb: typing.Any) -> None :canonical: simvx.graphics.gpu.timestamp_pool.TimestampPool.__exit__ ```{autodoc2-docstring} simvx.graphics.gpu.timestamp_pool.TimestampPool.__exit__ ``` ```` `````