Documentation
¶
Index ¶
- func PrintTrace(w io.Writer, trace []TraceStep) (n int, err error)
- func ReadReq(ctx context.Context, args *issueArgs, rng *rand.Rand, wg *sync.WaitGroup, ...)
- func WriteReq(ctx context.Context, args *issueArgs, rng *rand.Rand, wg *sync.WaitGroup, ...)
- type Config
- type Loader
- type Logger
- type Runner
- type TraceStep
- type WorkloadReqFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Loader ¶
type Logger ¶
type Logger interface {
Print(v ...interface{})
Printf(format string, v ...interface{})
}
type Runner ¶
type Runner struct {
Log Logger
DB db.DB
Config Config
Rand *rand.Rand
Trace []TraceStep
ReadRecorder *recorders.MultiLatency
ReadWriter recorders.MultiLogWriter
WriteRecorder *recorders.MultiLatency
WriteWriter recorders.MultiLogWriter
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.