go-fuse: github.com/hanwen/go-fuse/benchmark Index | Files | Directories

package benchmark

import "github.com/hanwen/go-fuse/benchmark"

Index

Package Files

benchmark.go latencymap.go statfs.go

func ReadLines Uses

func ReadLines(name string) []string

type LatencyMap Uses

type LatencyMap struct {
    sync.Mutex
    // contains filtered or unexported fields
}

func NewLatencyMap Uses

func NewLatencyMap() *LatencyMap

func (*LatencyMap) Add Uses

func (m *LatencyMap) Add(name string, dt time.Duration)

func (*LatencyMap) Counts Uses

func (m *LatencyMap) Counts() map[string]int

func (*LatencyMap) Get Uses

func (m *LatencyMap) Get(name string) (count int, dt time.Duration)

type StatFS Uses

type StatFS struct {
    fs.Inode
    // contains filtered or unexported fields
}

func (*StatFS) AddFile Uses

func (r *StatFS) AddFile(name string, a fuse.Attr)

func (*StatFS) OnAdd Uses

func (r *StatFS) OnAdd(ctx context.Context)

Directories

PathSynopsis
bulkstat

Package benchmark imports 11 packages (graph) and is imported by 17 packages. Updated 2019-08-05. Refresh now. Tools for package owners.