-
Notifications
You must be signed in to change notification settings - Fork 30
/
IHeader.cs
41 lines (41 loc) · 1.39 KB
/
IHeader.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
namespace HdrHistogram.Encoding
{
/// <summary>
/// Defines the header properties to be encoded for an HdrHistogram.
/// </summary>
public interface IHeader
{
/// <summary>
/// The cookie value for the histogram.
/// </summary>
int Cookie { get; }
/// <summary>
/// The length in bytes of the payload body.
/// </summary>
int PayloadLengthInBytes { get; }
/// <summary>
/// The normalizing index offset.
/// </summary>
int NormalizingIndexOffset { get; } //Not currently implemented/used.
/// <summary>
/// THe number of significant digits that values are measured to.
/// </summary>
int NumberOfSignificantValueDigits { get; }
/// <summary>
/// The lowest trackable value for the histogram
/// </summary>
long LowestTrackableUnitValue { get; }
/// <summary>
/// The highest trackable value for the histogram
/// </summary>
long HighestTrackableValue { get; }
/// <summary>
/// Integer to double conversion ratio.
/// </summary>
double IntegerToDoubleValueConversionRatio { get; } //Not currently implemented/used.
/// <summary>
/// The amount of excess capacity that will not be needed.
/// </summary>
int CapacityEstimateExcess { get; }
}
}