Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Workloader ¶
type Workloader interface {
Name() string
InitThread(ctx context.Context, threadID int) context.Context
CleanupThread(ctx context.Context, threadID int)
Prepare(ctx context.Context, threadID int) error
CheckPrepare(ctx context.Context, threadID int) error
Run(ctx context.Context, threadID int) error
Cleanup(ctx context.Context, threadID int) error
Check(ctx context.Context, threadID int) error
OutputStats(ifSummaryReport bool)
DBName() string
}
Workloader is the interface for running customized workload
Click to show internal directories.
Click to hide internal directories.