wp
This commit is contained in:
@@ -1,25 +1,25 @@
|
||||
package database
|
||||
|
||||
import (
|
||||
octopus "gordenko.dev/dima/qb"
|
||||
"gordenko.dev/dima/qb"
|
||||
"gordenko.dev/dima/qb/conbuf"
|
||||
)
|
||||
|
||||
// METRIC
|
||||
|
||||
type _metric struct {
|
||||
MetricType octopus.MetricType
|
||||
FracDigits byte
|
||||
RootPageNo uint32
|
||||
LastPageNo uint32
|
||||
SinceValue float64
|
||||
Since uint32
|
||||
UntilValue float64
|
||||
Until uint32
|
||||
TimestampsBuf *conbuf.ContinuousBuffer
|
||||
ValuesBuf *conbuf.ContinuousBuffer
|
||||
Timestamps octopus.TimestampCompressor
|
||||
Values octopus.ValueCompressor
|
||||
MetricType qb.MetricType
|
||||
FracDigits byte
|
||||
RootPageNo uint32
|
||||
LastPageNo uint32
|
||||
SinceValue float64
|
||||
Since uint32
|
||||
UntilValue float64
|
||||
Until uint32
|
||||
//TimestampsBuf *conbuf.ContinuousBuffer
|
||||
//ValuesBuf *conbuf.ContinuousBuffer
|
||||
Timestamps qb.TimestampCompressor
|
||||
Values qb.ValueCompressor
|
||||
}
|
||||
|
||||
func (s *_metric) ReinitBy(timestamp uint32, value float64) {
|
||||
|
||||
Reference in New Issue
Block a user