Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add precision to sparse histograms #38

Merged
merged 1 commit into from
Aug 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/main/proto/messages.proto
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ message SparseHistogramEntry {
message SparseHistogramSupportingData {
string unit = 1;
repeated SparseHistogramEntry entries = 2;
// This is actually precision - 1. Since protobuf defaults to 0, we need
// the 0 to mean "default" and 1 mean "truncate the entire mantissa (0 bits of mantissa)"
uint32 precision = 3;
}

message HostIdentification {
Expand Down