|
PACS System 0.1.0
PACS DICOM system library
|
Statistics for PDU buffer pool usage monitoring. More...
#include <pdu_buffer_pool.h>

Public Member Functions | |
| auto | hit_ratio () const noexcept -> double |
| Calculate hit ratio (0.0 to 1.0) | |
| void | reset () noexcept |
| Reset all statistics. | |
Public Attributes | |
| std::atomic< uint64_t > | total_acquisitions {0} |
| std::atomic< uint64_t > | pool_hits {0} |
| std::atomic< uint64_t > | pool_misses {0} |
| std::atomic< uint64_t > | total_releases {0} |
| std::atomic< uint64_t > | total_bytes_allocated {0} |
Statistics for PDU buffer pool usage monitoring.
Definition at line 36 of file pdu_buffer_pool.h.
|
inlinenodiscardnoexcept |
Calculate hit ratio (0.0 to 1.0)
Definition at line 47 of file pdu_buffer_pool.h.
References pool_hits, and total_acquisitions.
|
inlinenoexcept |
Reset all statistics.
Definition at line 59 of file pdu_buffer_pool.h.
References pool_hits, pool_misses, total_acquisitions, total_bytes_allocated, and total_releases.
Referenced by kcenon::pacs::network::pdu_buffer_pool::reset_statistics().

| std::atomic<uint64_t> kcenon::pacs::network::pdu_pool_statistics::pool_hits {0} |
Definition at line 38 of file pdu_buffer_pool.h.
Referenced by kcenon::pacs::network::tracked_pdu_pool< T >::acquire(), hit_ratio(), and reset().
| std::atomic<uint64_t> kcenon::pacs::network::pdu_pool_statistics::pool_misses {0} |
Definition at line 39 of file pdu_buffer_pool.h.
Referenced by kcenon::pacs::network::tracked_pdu_pool< T >::acquire(), and reset().
| std::atomic<uint64_t> kcenon::pacs::network::pdu_pool_statistics::total_acquisitions {0} |
Definition at line 37 of file pdu_buffer_pool.h.
Referenced by kcenon::pacs::network::tracked_pdu_pool< T >::acquire(), hit_ratio(), and reset().
| std::atomic<uint64_t> kcenon::pacs::network::pdu_pool_statistics::total_bytes_allocated {0} |
| std::atomic<uint64_t> kcenon::pacs::network::pdu_pool_statistics::total_releases {0} |