/**
* collectd - src/utils_latency.h
- * Copyright (C) 2013 Florian Forster
+ * Copyright (C) 2013 Florian Forster
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
**/
#include "collectd.h"
+
#include "utils_time.h"
struct latency_counter_s;
cdtime_t latency_counter_get_average (latency_counter_t *lc);
cdtime_t latency_counter_get_percentile (latency_counter_t *lc,
double percent);
+cdtime_t latency_counter_get_start_time (const latency_counter_t *lc);
+double latency_counter_get_rate (const latency_counter_t *lc,
+ const cdtime_t lower, cdtime_t upper, const cdtime_t now);
/* vim: set sw=2 sts=2 et : */