LCOV - code coverage report
Current view: top level - disco/metrics/generated - fd_metrics_shred.h (source / functions) Hit Total Coverage
Test: cov.lcov Lines: 1 21 4.8 %
Date: 2024-11-13 11:58:15 Functions: 0 0 -

          Line data    Source code
       1             : /* THIS FILE IS GENERATED BY gen_metrics.py. DO NOT HAND EDIT. */
       2             : 
       3             : #include "../fd_metrics_base.h"
       4             : 
       5           0 : #define FD_METRICS_HISTOGRAM_SHRED_CLUSTER_CONTACT_INFO_CNT_OFF  (16UL)
       6             : #define FD_METRICS_HISTOGRAM_SHRED_CLUSTER_CONTACT_INFO_CNT_NAME "shred_cluster_contact_info_cnt"
       7             : #define FD_METRICS_HISTOGRAM_SHRED_CLUSTER_CONTACT_INFO_CNT_TYPE (FD_METRICS_TYPE_HISTOGRAM)
       8             : #define FD_METRICS_HISTOGRAM_SHRED_CLUSTER_CONTACT_INFO_CNT_DESC "Number of contact infos in the cluster contact info message"
       9             : #define FD_METRICS_HISTOGRAM_SHRED_CLUSTER_CONTACT_INFO_CNT_CVT  (FD_METRICS_CONVERTER_NONE)
      10           0 : #define FD_METRICS_HISTOGRAM_SHRED_CLUSTER_CONTACT_INFO_CNT_MIN  (0UL)
      11           0 : #define FD_METRICS_HISTOGRAM_SHRED_CLUSTER_CONTACT_INFO_CNT_MAX  (40200UL)
      12           0 : #define FD_METRICS_COUNTER_SHRED_MICROBLOCKS_ABANDONED_OFF  (33UL)
      13             : #define FD_METRICS_COUNTER_SHRED_MICROBLOCKS_ABANDONED_NAME "shred_microblocks_abandoned"
      14             : #define FD_METRICS_COUNTER_SHRED_MICROBLOCKS_ABANDONED_TYPE (FD_METRICS_TYPE_COUNTER)
      15             : #define FD_METRICS_COUNTER_SHRED_MICROBLOCKS_ABANDONED_DESC "The number of microblocks that were abandoned because we switched slots without finishing the current slot"
      16             : #define FD_METRICS_COUNTER_SHRED_MICROBLOCKS_ABANDONED_CVT  (FD_METRICS_CONVERTER_NONE)
      17             : 
      18           0 : #define FD_METRICS_HISTOGRAM_SHRED_BATCH_SZ_OFF  (34UL)
      19             : #define FD_METRICS_HISTOGRAM_SHRED_BATCH_SZ_NAME "shred_batch_sz"
      20             : #define FD_METRICS_HISTOGRAM_SHRED_BATCH_SZ_TYPE (FD_METRICS_TYPE_HISTOGRAM)
      21             : #define FD_METRICS_HISTOGRAM_SHRED_BATCH_SZ_DESC "The size (in bytes) of each microblock batch that is shredded"
      22             : #define FD_METRICS_HISTOGRAM_SHRED_BATCH_SZ_CVT  (FD_METRICS_CONVERTER_NONE)
      23           0 : #define FD_METRICS_HISTOGRAM_SHRED_BATCH_SZ_MIN  (1024UL)
      24           0 : #define FD_METRICS_HISTOGRAM_SHRED_BATCH_SZ_MAX  (65536UL)
      25           0 : #define FD_METRICS_HISTOGRAM_SHRED_BATCH_MICROBLOCK_CNT_OFF  (51UL)
      26             : #define FD_METRICS_HISTOGRAM_SHRED_BATCH_MICROBLOCK_CNT_NAME "shred_batch_microblock_cnt"
      27             : #define FD_METRICS_HISTOGRAM_SHRED_BATCH_MICROBLOCK_CNT_TYPE (FD_METRICS_TYPE_HISTOGRAM)
      28             : #define FD_METRICS_HISTOGRAM_SHRED_BATCH_MICROBLOCK_CNT_DESC "The number of microblocks in each microblock batch that is shredded"
      29             : #define FD_METRICS_HISTOGRAM_SHRED_BATCH_MICROBLOCK_CNT_CVT  (FD_METRICS_CONVERTER_NONE)
      30           0 : #define FD_METRICS_HISTOGRAM_SHRED_BATCH_MICROBLOCK_CNT_MIN  (2UL)
      31           0 : #define FD_METRICS_HISTOGRAM_SHRED_BATCH_MICROBLOCK_CNT_MAX  (256UL)
      32           0 : #define FD_METRICS_HISTOGRAM_SHRED_SHREDDING_DURATION_SECONDS_OFF  (68UL)
      33             : #define FD_METRICS_HISTOGRAM_SHRED_SHREDDING_DURATION_SECONDS_NAME "shred_shredding_duration_seconds"
      34             : #define FD_METRICS_HISTOGRAM_SHRED_SHREDDING_DURATION_SECONDS_TYPE (FD_METRICS_TYPE_HISTOGRAM)
      35             : #define FD_METRICS_HISTOGRAM_SHRED_SHREDDING_DURATION_SECONDS_DESC "Duration of producing one FEC set from the shredder"
      36             : #define FD_METRICS_HISTOGRAM_SHRED_SHREDDING_DURATION_SECONDS_CVT  (FD_METRICS_CONVERTER_SECONDS)
      37           0 : #define FD_METRICS_HISTOGRAM_SHRED_SHREDDING_DURATION_SECONDS_MIN  (1e-05)
      38           0 : #define FD_METRICS_HISTOGRAM_SHRED_SHREDDING_DURATION_SECONDS_MAX  (0.01)
      39           0 : #define FD_METRICS_HISTOGRAM_SHRED_ADD_SHRED_DURATION_SECONDS_OFF  (85UL)
      40             : #define FD_METRICS_HISTOGRAM_SHRED_ADD_SHRED_DURATION_SECONDS_NAME "shred_add_shred_duration_seconds"
      41             : #define FD_METRICS_HISTOGRAM_SHRED_ADD_SHRED_DURATION_SECONDS_TYPE (FD_METRICS_TYPE_HISTOGRAM)
      42             : #define FD_METRICS_HISTOGRAM_SHRED_ADD_SHRED_DURATION_SECONDS_DESC "Duration of verifying and processing one shred received from the network"
      43             : #define FD_METRICS_HISTOGRAM_SHRED_ADD_SHRED_DURATION_SECONDS_CVT  (FD_METRICS_CONVERTER_SECONDS)
      44           0 : #define FD_METRICS_HISTOGRAM_SHRED_ADD_SHRED_DURATION_SECONDS_MIN  (1e-08)
      45           0 : #define FD_METRICS_HISTOGRAM_SHRED_ADD_SHRED_DURATION_SECONDS_MAX  (0.001)
      46           0 : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_OFF  (102UL)
      47           0 : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_CNT  (6UL)
      48             : 
      49             : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_BAD_SLOT_OFF  (102UL)
      50             : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_BAD_SLOT_NAME "shred_shred_processed_bad_slot"
      51             : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_BAD_SLOT_TYPE (FD_METRICS_TYPE_COUNTER)
      52             : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_BAD_SLOT_DESC "The result of processing a thread from the network (Shred was for a slot for which we don't know the leader)"
      53             : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_BAD_SLOT_CVT  (FD_METRICS_CONVERTER_NONE)
      54             : 
      55             : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_PARSE_FAILED_OFF  (103UL)
      56             : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_PARSE_FAILED_NAME "shred_shred_processed_parse_failed"
      57             : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_PARSE_FAILED_TYPE (FD_METRICS_TYPE_COUNTER)
      58             : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_PARSE_FAILED_DESC "The result of processing a thread from the network (Shred parsing failed)"
      59             : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_PARSE_FAILED_CVT  (FD_METRICS_CONVERTER_NONE)
      60             : 
      61             : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_REJECTED_OFF  (104UL)
      62             : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_REJECTED_NAME "shred_shred_processed_rejected"
      63             : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_REJECTED_TYPE (FD_METRICS_TYPE_COUNTER)
      64             : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_REJECTED_DESC "The result of processing a thread from the network (Shred was invalid for one of many reasons)"
      65             : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_REJECTED_CVT  (FD_METRICS_CONVERTER_NONE)
      66             : 
      67             : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_IGNORED_OFF  (105UL)
      68             : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_IGNORED_NAME "shred_shred_processed_ignored"
      69             : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_IGNORED_TYPE (FD_METRICS_TYPE_COUNTER)
      70             : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_IGNORED_DESC "The result of processing a thread from the network (Shred was ignored because we had already received or reconstructed it)"
      71             : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_IGNORED_CVT  (FD_METRICS_CONVERTER_NONE)
      72             : 
      73             : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_OKAY_OFF  (106UL)
      74             : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_OKAY_NAME "shred_shred_processed_okay"
      75             : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_OKAY_TYPE (FD_METRICS_TYPE_COUNTER)
      76             : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_OKAY_DESC "The result of processing a thread from the network (Shred accepted to an incomplete FEC set)"
      77             : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_OKAY_CVT  (FD_METRICS_CONVERTER_NONE)
      78             : 
      79             : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_COMPLETES_OFF  (107UL)
      80             : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_COMPLETES_NAME "shred_shred_processed_completes"
      81             : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_COMPLETES_TYPE (FD_METRICS_TYPE_COUNTER)
      82             : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_COMPLETES_DESC "The result of processing a thread from the network (Shred accepted and resulted in a valid, complete FEC set)"
      83             : #define FD_METRICS_COUNTER_SHRED_SHRED_PROCESSED_COMPLETES_CVT  (FD_METRICS_CONVERTER_NONE)
      84             : 
      85          33 : #define FD_METRICS_COUNTER_SHRED_FEC_SET_SPILLED_OFF  (108UL)
      86             : #define FD_METRICS_COUNTER_SHRED_FEC_SET_SPILLED_NAME "shred_fec_set_spilled"
      87             : #define FD_METRICS_COUNTER_SHRED_FEC_SET_SPILLED_TYPE (FD_METRICS_TYPE_COUNTER)
      88             : #define FD_METRICS_COUNTER_SHRED_FEC_SET_SPILLED_DESC "The number of FEC sets that were spilled because they didn't complete in time and we needed space"
      89             : #define FD_METRICS_COUNTER_SHRED_FEC_SET_SPILLED_CVT  (FD_METRICS_CONVERTER_NONE)
      90             : 
      91           0 : #define FD_METRICS_COUNTER_SHRED_SHRED_REJECTED_INITIAL_OFF  (109UL)
      92             : #define FD_METRICS_COUNTER_SHRED_SHRED_REJECTED_INITIAL_NAME "shred_shred_rejected_initial"
      93             : #define FD_METRICS_COUNTER_SHRED_SHRED_REJECTED_INITIAL_TYPE (FD_METRICS_TYPE_COUNTER)
      94             : #define FD_METRICS_COUNTER_SHRED_SHRED_REJECTED_INITIAL_DESC "The number shreds that were rejected before any resources were allocated for the FEC set"
      95             : #define FD_METRICS_COUNTER_SHRED_SHRED_REJECTED_INITIAL_CVT  (FD_METRICS_CONVERTER_NONE)
      96             : 
      97           0 : #define FD_METRICS_COUNTER_SHRED_FEC_REJECTED_FATAL_OFF  (110UL)
      98             : #define FD_METRICS_COUNTER_SHRED_FEC_REJECTED_FATAL_NAME "shred_fec_rejected_fatal"
      99             : #define FD_METRICS_COUNTER_SHRED_FEC_REJECTED_FATAL_TYPE (FD_METRICS_TYPE_COUNTER)
     100             : #define FD_METRICS_COUNTER_SHRED_FEC_REJECTED_FATAL_DESC "The number of FEC sets that were rejected for reasons that cause the whole FEC set to become invalid"
     101             : #define FD_METRICS_COUNTER_SHRED_FEC_REJECTED_FATAL_CVT  (FD_METRICS_CONVERTER_NONE)
     102             : 
     103             : 
     104             : #define FD_METRICS_SHRED_TOTAL (15UL)
     105             : extern const fd_metrics_meta_t FD_METRICS_SHRED[FD_METRICS_SHRED_TOTAL];

Generated by: LCOV version 1.14