github.com/keybase/client/go@v0.0.0-20240309051027-028f7c731f8b/libkb/runtimestats.go (about) 1 package libkb 2 3 import ( 4 "github.com/keybase/client/go/protocol/keybase1" 5 context "golang.org/x/net/context" 6 ) 7 8 type DummyRuntimeStats struct{} 9 10 var _ RuntimeStats = (*DummyRuntimeStats)(nil) 11 12 func NewDummyRuntimeStats() *DummyRuntimeStats { 13 return &DummyRuntimeStats{} 14 } 15 16 func (d *DummyRuntimeStats) Start(context.Context) {} 17 func (d *DummyRuntimeStats) Stop(context.Context) chan struct{} { return nil } 18 func (d *DummyRuntimeStats) PushPerfEvent(keybase1.PerfEvent) {}