summaryrefslogtreecommitdiffstats
path: root/src/vlib/stats/stats.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vlib/stats/stats.h')
-rw-r--r--src/vlib/stats/stats.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vlib/stats/stats.h b/src/vlib/stats/stats.h
index b07f21724a0..ab1e2828c5a 100644
--- a/src/vlib/stats/stats.h
+++ b/src/vlib/stats/stats.h
@@ -21,12 +21,14 @@ typedef enum
{
STAT_COUNTER_HEARTBEAT = 0,
STAT_COUNTER_LAST_STATS_CLEAR,
+ STAT_COUNTER_BOOTTIME,
STAT_COUNTERS
} stat_segment_counter_t;
#define foreach_stat_segment_counter_name \
_ (LAST_STATS_CLEAR, SCALAR_INDEX, last_stats_clear, "/sys") \
- _ (HEARTBEAT, SCALAR_INDEX, heartbeat, "/sys")
+ _ (HEARTBEAT, SCALAR_INDEX, heartbeat, "/sys") \
+ _ (BOOTTIME, SCALAR_INDEX, boottime, "/sys")
typedef struct
{