Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
Loading...
Searching...
No Matches
job_info.h File Reference

Job information snapshot for diagnostics and monitoring. More...

#include <chrono>
#include <cstdint>
#include <iomanip>
#include <optional>
#include <sstream>
#include <string>
#include <thread>
Include dependency graph for job_info.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kcenon::thread::diagnostics::job_info
 Information about a job in the thread pool. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::thread
 Core threading foundation of the thread system library.
 
namespace  kcenon::thread::diagnostics
 

Enumerations

enum class  kcenon::thread::diagnostics::job_status {
  kcenon::thread::diagnostics::job_status::pending , kcenon::thread::diagnostics::job_status::running , kcenon::thread::diagnostics::job_status::completed , kcenon::thread::diagnostics::job_status::failed ,
  kcenon::thread::diagnostics::job_status::cancelled , kcenon::thread::diagnostics::job_status::timed_out
}
 Status of a job in the thread pool. More...
 

Functions

auto kcenon::thread::diagnostics::job_status_to_string (job_status status) -> std::string
 Converts job_status to human-readable string.
 

Detailed Description

Job information snapshot for diagnostics and monitoring.

See also
thread_pool_diagnostics

Definition in file job_info.h.