Home
last modified time | relevance | path

Searched refs:histogram (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/subsys/net/lib/prometheus/
Dhistogram.c17 int prometheus_histogram_observe(struct prometheus_histogram *histogram, double value) in prometheus_histogram_observe() argument
19 if (!histogram) { in prometheus_histogram_observe()
24 histogram->count++; in prometheus_histogram_observe()
27 histogram->sum += value; in prometheus_histogram_observe()
30 for (size_t i = 0; i < histogram->num_buckets; ++i) { in prometheus_histogram_observe()
31 if (value <= histogram->buckets[i].upper_bound) { in prometheus_histogram_observe()
33 histogram->buckets[i].count++; in prometheus_histogram_observe()
36 histogram->buckets[i].upper_bound, histogram->buckets[i].count); in prometheus_histogram_observe()
Dformatter.c161 const struct prometheus_histogram *histogram = in prometheus_format_one_metric() local
164 LOG_DBG("histogram->count: %lu", histogram->count); in prometheus_format_one_metric()
166 for (int i = 0; i < histogram->num_buckets; ++i) { in prometheus_format_one_metric()
170 histogram->buckets[i].upper_bound, in prometheus_format_one_metric()
171 histogram->buckets[i].count); in prometheus_format_one_metric()
179 "%s_sum %f\n", metric->name, histogram->sum); in prometheus_format_one_metric()
187 histogram->count); in prometheus_format_one_metric()
DCMakeLists.txt11 histogram.c
/Zephyr-latest/include/zephyr/net/prometheus/
Dhistogram.h106 int prometheus_histogram_observe(struct prometheus_histogram *histogram, double value);
/Zephyr-latest/doc/kernel/memory_management/
Ddemand_paging.rst98 * Execution time histogram can be obtained when
107 * Execution time histogram of eviction algorithm via
110 * Execution time histogram of backing store doing page-in via
113 * Execution time histogram of backing store doing page-out via
/Zephyr-latest/subsys/net/ip/
Dnet_stats.c526 struct prometheus_histogram *histogram = in net_stats_prometheus_scrape() local
529 if (histogram->user_data == NULL) { in net_stats_prometheus_scrape()
/Zephyr-latest/kernel/
DKconfig.vm189 This gathers the histogram of execution time on page eviction
199 Defines the number of bins (buckets) in the histogram used for