summaryrefslogtreecommitdiff
path: root/vendors
diff options
context:
space:
mode:
authorchenzizhan <[email protected]>2023-09-15 18:14:26 +0800
committerchenzizhan <[email protected]>2023-09-15 18:14:26 +0800
commit1a432f86f6ac743735a51f513e8b0d71ff11e778 (patch)
treefedf9c418ab883a5de95a964bef23582eefe6ae8 /vendors
parent6e5d010519ac5b2512367e1582f253bc0cc53297 (diff)
stash4.3.0-4.3.4(python api)
Diffstat (limited to 'vendors')
-rw-r--r--vendors/hdr/hdr_histogram_log.c2
-rw-r--r--vendors/hdr/hdr_histogram_log.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/vendors/hdr/hdr_histogram_log.c b/vendors/hdr/hdr_histogram_log.c
index 06ab81a..8e46f62 100644
--- a/vendors/hdr/hdr_histogram_log.c
+++ b/vendors/hdr/hdr_histogram_log.c
@@ -292,7 +292,7 @@ static void apply_to_counts_64(struct hdr_histogram* h, const int64_t* counts_da
}
}
-static int apply_to_counts_zz(struct hdr_histogram* h, const uint8_t* counts_data, const int32_t data_limit)
+int apply_to_counts_zz(struct hdr_histogram* h, const uint8_t* counts_data, const int32_t data_limit)
{
int64_t data_index = 0;
int32_t counts_index = 0;
diff --git a/vendors/hdr/hdr_histogram_log.h b/vendors/hdr/hdr_histogram_log.h
index c1842b2..20be409 100644
--- a/vendors/hdr/hdr_histogram_log.h
+++ b/vendors/hdr/hdr_histogram_log.h
@@ -229,6 +229,9 @@ int hdr_log_read_entry(
*/
const char* hdr_strerror(int errnum);
+/* ----------------------------- used by my code ---------------------------- */
+int apply_to_counts_zz(struct hdr_histogram* h, const uint8_t* counts_data, const int32_t data_limit);
+
#ifdef __cplusplus
}
#endif