lenskit.logging.ResourceMeasurement =================================== .. py:class:: lenskit.logging.ResourceMeasurement :canonical: lenskit.logging._resource.ResourceMeasurement Single measurement of resources. Two measurements can be subtracted to compute the time resources consumed in an interval (memory resources are left unchanged). :Stability: Internal .. py:attribute:: wall_time :type: float .. py:attribute:: perf_time :type: float .. py:attribute:: user_time :type: float .. py:attribute:: system_time :type: float .. py:attribute:: max_rss :type: int | None :value: None Maximum RSS usage (in bytes). .. py:attribute:: max_gpu :type: int | None :value: None .. py:method:: current() :classmethod: Get the current resource measurements. .. py:property:: cpu_time :type: float Total CPU time (user + system). .. py:method:: __sub__(other)