caproto.server.stats.MemoryTracingHelper ======================================== .. currentmodule:: caproto.server.stats .. autoclass:: MemoryTracingHelper .. if not using autodoc, add this here: automethod:: __init__ .. list-table:: MemoryTracingHelper pvproperties :header-rows: 1 :widths: auto * - Attribute - Suffix - Docs - Type - Notes - Alarm Group * - diff_results - ``TraceDiffResults`` - Trace diff from snapshot to snapshot - str (:class:`waveform `) - **Read-only** Length(20000) - * - enable_tracing - ``EnableTracing`` - Enable/disable in-depth memory analysis - ENUM (:class:`bo `) - **Startup** - * - top_allocations - ``TraceTopAllocations`` - Top allocations in snapshot - str (:class:`waveform `) - **Read-only** Length(20000) - * - trace_count - ``TraceCount`` - Number of top allocations to view - int (:class:`ao `) - - .. rubric:: Methods .. autosummary:: ~MemoryTracingHelper.group_read ~MemoryTracingHelper.group_write .. rubric:: Attributes .. autosummary:: ~MemoryTracingHelper.default_values ~MemoryTracingHelper.type_map ~MemoryTracingHelper.type_map_read_only .. rubric:: pvproperty methods .. method:: enable_tracing.startup(self, instance, async_lib) .. raw:: html
Source code: enable_tracing.startup .. literalinclude:: /../../../../../miniconda/envs/test_env/lib/python3.7/site-packages/caproto/server/server.py :language: python :linenos: :dedent: 0 :lineno-start: 766 :lines: 766-795 .. raw:: html