Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
Loading...
Searching...
No Matches
thread_local_buffer.h File Reference

Thread-local buffer for lock-free metric collection. More...

#include <vector>
#include <string>
#include <chrono>
#include <memory>
#include <functional>
Include dependency graph for thread_local_buffer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kcenon::monitoring::metric_sample
 Sample data structure for metric recording. More...
 
class  kcenon::monitoring::thread_local_buffer
 Thread-local buffer for lock-free metric collection. More...
 
struct  kcenon::monitoring::thread_local_buffer::stats
 Get statistics about buffer operations. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::monitoring
 

Detailed Description

Thread-local buffer for lock-free metric collection.

This file provides a thread-local buffer implementation for high-performance metric collection without lock contention between threads.

This is part of the public API. Stable interface - breaking changes follow semantic versioning.

Note
For C++20 module migration:

Definition in file thread_local_buffer.h.