Corium 1.1.0
High-Performance Zero-Heap C++20 MPSC Application Runtime
Loading...
Searching...
No Matches
corium::profiler Namespace Reference

Classes

class  Counter
 Atomic 64-bit monotonically increasing counter. More...
 
struct  FlightRecord
 Represents a single traced event record in the circular flight recorder. More...
 
class  FlightRecorder
 Zero-heap circular flight recorder storing the last N event telemetry records. Thread-safe for multiple producers and concurrent reader/dumping. More...
 
class  FlightRecorderProfiler
 Combined Flight Recorder and Latency Tracker Profiler. Records historical event traces into a circular in-memory buffer with zero heap allocations. More...
 
class  Gauge
 Atomic 64-bit signed gauge metric representing instantaneous level. More...
 
class  Histogram
 Statically bucketed latency distribution histogram. More...
 
class  LatencyTracker
 Real-time event latency and performance statistics tracker. Zero dynamic memory allocation. Tracks min, max, total queue latency and handler duration. More...
 
struct  NullProfiler
 Default Profiler Policy: Zero-overhead, completely compiled out by inline empty functions. More...
 
class  PostTimestampQueue
 

Typedefs

using ProfilerClock = std::chrono::steady_clock
 Timestamp clock used by the profiler (steady clock in nanoseconds).
 

Functions

size_t formatPrometheusCounter (const Counter &c, std::span< char > buf) noexcept
 Format counter in Prometheus exposition text format into a char buffer.
 
size_t formatPrometheusGauge (const Gauge &g, std::span< char > buf) noexcept
 Format gauge in Prometheus exposition text format into a char buffer.
 

Typedef Documentation

◆ ProfilerClock

using corium::profiler::ProfilerClock = typedef std::chrono::steady_clock

Timestamp clock used by the profiler (steady clock in nanoseconds).