Home
last modified time | relevance | path

Searched refs:qdist (Results 1 – 6 of 6) sorted by relevance

/openbmc/qemu/include/qemu/
H A Dqdist.h27 struct qdist { struct
41 void qdist_init(struct qdist *dist); argument
42 void qdist_destroy(struct qdist *dist);
44 void qdist_add(struct qdist *dist, double x, long count);
45 void qdist_inc(struct qdist *dist, double x);
46 double qdist_xmin(const struct qdist *dist);
47 double qdist_xmax(const struct qdist *dist);
48 double qdist_avg(const struct qdist *dist);
49 unsigned long qdist_sample_count(const struct qdist *dist);
50 size_t qdist_unique_entries(const struct qdist *dist);
[all …]
H A Dqht.h41 struct qdist chain;
42 struct qdist occupancy;
/openbmc/qemu/util/
H A Dqdist.c19 void qdist_init(struct qdist *dist) in qdist_init()
26 void qdist_destroy(struct qdist *dist) in qdist_destroy()
49 void qdist_add(struct qdist *dist, double x, long count) in qdist_add()
76 void qdist_inc(struct qdist *dist, double x) in qdist_inc()
106 static char *qdist_pr_internal(const struct qdist *dist) in qdist_pr_internal()
164 void qdist_bin__internal(struct qdist *to, const struct qdist *from, size_t n) in qdist_bin__internal()
234 struct qdist binned; in qdist_pr_plain()
338 double qdist_xmin(const struct qdist *dist) in qdist_xmin()
343 double qdist_xmax(const struct qdist *dist) in qdist_xmax()
348 size_t qdist_unique_entries(const struct qdist *dist) in qdist_unique_entries()
[all …]
H A Dmeson.build54 util_ss.add(files('qdist.c'))
/openbmc/qemu/tests/unit/
H A Dtest-qdist.c53 histogram_check(const struct qdist *dist, const struct entry_desc *darr, in histogram_check()
64 static void histogram_check_single_full(const struct qdist *dist, size_t n_bins) in histogram_check_single_full()
72 entries_check(const struct qdist *dist, const struct entry_desc *darr, size_t n) in entries_check()
84 entries_insert(struct qdist *dist, const struct entry_desc *darr, size_t n) in entries_insert()
96 struct qdist qda; in do_test_bin()
97 struct qdist qdb; in do_test_bin()
135 struct qdist dist; in do_test_pr()
307 struct qdist dist; in test_single_full()
325 struct qdist dist; in test_single_empty()
353 struct qdist dist; in test_none()
H A Dmeson.build37 'test-qdist': [],