LCOV - code coverage report
Current view: top level - include/hpactor/config - mailbox_fields.def (source / functions) Coverage Total Hit
Test: HPActor Coverage Lines: 100.0 % 7 7
Test Date: 2026-05-20 02:24:49 Functions: - 0 0
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: - 0 0

             Branch data     Line data    Source code
       1                 :             : // X-macro table: mailbox defaults (shared by Config::MailboxDefaults and TOML SystemMailboxDef)
       2                 :             : //
       3                 :             : // Columns: cpp_name, cpp_type, toml_key, default_value
       4                 :             : //
       5                 :             : // Usage:
       6                 :             : //   #define HPACTOR_MAILBOX_FIELD(name, type, toml, def) type name{def};
       7                 :             : //   #include "mailbox_fields.def"
       8                 :             : //   #undef HPACTOR_MAILBOX_FIELD
       9                 :             : 
      10                 :           7 : HPACTOR_MAILBOX_FIELD(default_capacity,        uint32_t,                        "capacity",                1024)
      11                 :           7 : HPACTOR_MAILBOX_FIELD(default_byte_capacity,   uint64_t,                        "byte_capacity",           0)
      12                 :           7 : HPACTOR_MAILBOX_FIELD(default_policy,          hpactor::mailbox::OverflowPolicy,   "overflow_policy",         hpactor::mailbox::OverflowPolicy::RejectNewest)
      13                 :           7 : HPACTOR_MAILBOX_FIELD(high_watermark,          double,                                "high_watermark",          0.80)
      14                 :           7 : HPACTOR_MAILBOX_FIELD(low_watermark,           double,                                "low_watermark",           0.50)
      15                 :           7 : HPACTOR_MAILBOX_FIELD(protected_system_messages, uint32_t,                            "protected_system_messages", 32)
      16                 :           7 : HPACTOR_MAILBOX_FIELD(backpressure_mode,       hpactor::mailbox::BackpressureMode,    "backpressure_mode",       hpactor::mailbox::BackpressureMode::LocalAndRemoteSignal)
        

Generated by: LCOV version 2.0-1