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

Statistics for task scheduler operations. More...

#include <task_scheduler_config.h>

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

Public Attributes

std::size_t scheduled_tasks {0}
 Number of tasks currently scheduled.
 
std::size_t running_tasks {0}
 Number of tasks currently running.
 
std::size_t total_executions {0}
 Total tasks executed.
 
std::size_t successful_executions {0}
 Successful executions.
 
std::size_t failed_executions {0}
 Failed executions.
 
std::size_t cancelled_executions {0}
 Cancelled executions.
 
std::chrono::milliseconds avg_execution_time {0}
 Average execution time.
 
std::chrono::milliseconds max_execution_time {0}
 Maximum execution time observed.
 
std::chrono::seconds uptime {0}
 Scheduler uptime.
 
std::optional< std::chrono::system_clock::time_point > last_cycle_at
 Last cycle time.
 

Detailed Description

Statistics for task scheduler operations.

Definition at line 536 of file task_scheduler_config.h.

Member Data Documentation

◆ avg_execution_time

std::chrono::milliseconds kcenon::pacs::workflow::scheduler_stats::avg_execution_time {0}

Average execution time.

Definition at line 556 of file task_scheduler_config.h.

556{0};

Referenced by kcenon::pacs::workflow::task_scheduler::update_stats().

◆ cancelled_executions

std::size_t kcenon::pacs::workflow::scheduler_stats::cancelled_executions {0}

Cancelled executions.

Definition at line 553 of file task_scheduler_config.h.

553{0};

Referenced by kcenon::pacs::workflow::task_scheduler::update_stats().

◆ failed_executions

std::size_t kcenon::pacs::workflow::scheduler_stats::failed_executions {0}

Failed executions.

Definition at line 550 of file task_scheduler_config.h.

550{0};

Referenced by kcenon::pacs::workflow::task_scheduler::update_stats().

◆ last_cycle_at

std::optional<std::chrono::system_clock::time_point> kcenon::pacs::workflow::scheduler_stats::last_cycle_at

Last cycle time.

Definition at line 565 of file task_scheduler_config.h.

Referenced by kcenon::pacs::workflow::task_scheduler::execute_cycle().

◆ max_execution_time

std::chrono::milliseconds kcenon::pacs::workflow::scheduler_stats::max_execution_time {0}

Maximum execution time observed.

Definition at line 559 of file task_scheduler_config.h.

559{0};

Referenced by kcenon::pacs::workflow::task_scheduler::update_stats().

◆ running_tasks

std::size_t kcenon::pacs::workflow::scheduler_stats::running_tasks {0}

Number of tasks currently running.

Definition at line 541 of file task_scheduler_config.h.

541{0};

Referenced by kcenon::pacs::workflow::task_scheduler::get_stats().

◆ scheduled_tasks

std::size_t kcenon::pacs::workflow::scheduler_stats::scheduled_tasks {0}

Number of tasks currently scheduled.

Definition at line 538 of file task_scheduler_config.h.

538{0};

Referenced by kcenon::pacs::workflow::task_scheduler::get_stats().

◆ successful_executions

std::size_t kcenon::pacs::workflow::scheduler_stats::successful_executions {0}

Successful executions.

Definition at line 547 of file task_scheduler_config.h.

547{0};

Referenced by kcenon::pacs::workflow::task_scheduler::update_stats().

◆ total_executions

std::size_t kcenon::pacs::workflow::scheduler_stats::total_executions {0}

Total tasks executed.

Definition at line 544 of file task_scheduler_config.h.

544{0};

Referenced by kcenon::pacs::workflow::task_scheduler::update_stats().

◆ uptime

std::chrono::seconds kcenon::pacs::workflow::scheduler_stats::uptime {0}

Scheduler uptime.

Definition at line 562 of file task_scheduler_config.h.

562{0};

Referenced by kcenon::pacs::workflow::task_scheduler::get_stats().


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