Documentation ¶
Index ¶
- func InitializeGlobalState(resolution time.Duration, multiplier int)
- type Addon
- type Segment
- func (t *Segment) Bytes() []byte
- func (s *Segment) Get(st, et time.Time, cb func(depth int, t time.Time, r *big.Rat))
- func (s *Segment) Put(st, et time.Time, samples uint64, ...)
- func (s *Segment) SampleRate() int
- func (s *Segment) Serialize(w io.Writer) error
- func (s *Segment) SetMetadata(spyName string, sampleRate int)
- func (s *Segment) SpyName() string
- func (s *Segment) Visualize()
- type Timeline
- type TmpltVars
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitializeGlobalState ¶
TODO: global state is not good
Types ¶
type Segment ¶
type Segment struct {
// contains filtered or unexported fields
}
func Deserialize ¶
func (*Segment) Put ¶
func (s *Segment) Put(st, et time.Time, samples uint64, cb func(depth int, t time.Time, r *big.Rat, addons []Addon))
TODO: just give d+t info here
func (*Segment) SampleRate ¶
func (*Segment) SetMetadata ¶
Click to show internal directories.
Click to hide internal directories.