Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecConfig ¶
type ExecConfig struct { IpAddr string `json:"ipAddr"` ClientIps []string `json:"clientIps"` Runtime int64 `json:"runtime"` BlockSize []string `json:"blockSize"` // 10 OpType []string `json:"opType"` // 6 NumJobs []int64 `json:"numJobs"` // 10 IoDepth []int64 `json:"ioDepth"` // 6 OsdNum []int64 `json:"osdNum"` ThreadNums int64 `json:"threadNums"` WithJobCost bool `json:"withJobCost"` // contains filtered or unexported fields }
func NewExecConfig ¶
func NewExecConfig(configPath string) (*ExecConfig, error)
func (*ExecConfig) ReadConfig ¶
func (execConfig *ExecConfig) ReadConfig(configFilePath string) error
func (*ExecConfig) Run ¶
func (execConfig *ExecConfig) Run() (*[]ExecResult, error)
func (*ExecConfig) RunOneJob ¶
func (execConfig *ExecConfig) RunOneJob(fioConfig *FioConfig) (*ExecResult, error)
type ExecResult ¶
Click to show internal directories.
Click to hide internal directories.