PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
kcenon::pacs::workflow::lock_manager_stats Struct Reference

Statistics for lock manager operations. More...

#include <study_lock_manager.h>

Collaboration diagram for kcenon::pacs::workflow::lock_manager_stats:
Collaboration graph

Public Attributes

std::size_t active_locks {0}
 Number of currently held locks.
 
std::size_t exclusive_locks {0}
 Number of exclusive locks.
 
std::size_t shared_locks {0}
 Number of shared locks.
 
std::size_t migration_locks {0}
 Number of migration locks.
 
std::size_t total_acquisitions {0}
 Total locks acquired.
 
std::size_t total_releases {0}
 Total locks released.
 
std::size_t timeout_count {0}
 Lock acquisitions that timed out.
 
std::size_t force_unlock_count {0}
 Locks that were forcibly released.
 
std::chrono::milliseconds avg_lock_duration {0}
 Average lock duration.
 
std::chrono::milliseconds max_lock_duration {0}
 Maximum lock duration observed.
 
std::size_t contention_count {0}
 Number of lock contention events.
 

Detailed Description

Statistics for lock manager operations.

Definition at line 208 of file study_lock_manager.h.

Member Data Documentation

◆ active_locks

std::size_t kcenon::pacs::workflow::lock_manager_stats::active_locks {0}

◆ avg_lock_duration

std::chrono::milliseconds kcenon::pacs::workflow::lock_manager_stats::avg_lock_duration {0}

◆ contention_count

std::size_t kcenon::pacs::workflow::lock_manager_stats::contention_count {0}

Number of lock contention events.

Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/workflow/study_lock_manager.h.

Definition at line 240 of file study_lock_manager.h.

240{0};

◆ exclusive_locks

std::size_t kcenon::pacs::workflow::lock_manager_stats::exclusive_locks {0}

◆ force_unlock_count

std::size_t kcenon::pacs::workflow::lock_manager_stats::force_unlock_count {0}

Locks that were forcibly released.

Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/workflow/study_lock_manager.h.

Definition at line 231 of file study_lock_manager.h.

231{0};

◆ max_lock_duration

std::chrono::milliseconds kcenon::pacs::workflow::lock_manager_stats::max_lock_duration {0}

◆ migration_locks

std::size_t kcenon::pacs::workflow::lock_manager_stats::migration_locks {0}

◆ shared_locks

std::size_t kcenon::pacs::workflow::lock_manager_stats::shared_locks {0}

◆ timeout_count

std::size_t kcenon::pacs::workflow::lock_manager_stats::timeout_count {0}

Lock acquisitions that timed out.

Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/workflow/study_lock_manager.h.

Definition at line 228 of file study_lock_manager.h.

228{0};

◆ total_acquisitions

std::size_t kcenon::pacs::workflow::lock_manager_stats::total_acquisitions {0}

◆ total_releases

std::size_t kcenon::pacs::workflow::lock_manager_stats::total_releases {0}

The documentation for this struct was generated from the following file: