Documentation ¶
Index ¶
- func GetLastExperimentNumber(databaseFile string) int
- func StoreClientInformation(hostname string, clientID int, consensus int, gomaxprocs int, ...) (int64, error)
- func StoreClientLatency(databaseFile string, fkClient int64, latency []int64, fkExperiment int64) error
- func StoreExperimentInformation(databaseFile string, fkProtocol int, thrifty bool, beacon bool, execute bool, ...) (int64, error)
- func StoreReplicaInformation(databaseFile string, hostname string, experiment int64) error
- func UpdateExperimentLatency(databaseFile string, fkExperiment int64, mean float64, median float64, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLastExperimentNumber ¶
GetLastExperimentNumber return the ID of last experiment stored in database
func StoreClientInformation ¶
func StoreClientInformation(hostname string, clientID int, consensus int, gomaxprocs int, fkExperiment int64, databaseFile string, conflicts int, writes int, testDuration time.Duration, successful int64, throughput int64, latencyAvg float64) (int64, error)
StoreClientInformation stores the results of information of the test
func StoreClientLatency ¶
func StoreClientLatency(databaseFile string, fkClient int64, latency []int64, fkExperiment int64) error
StoreClientLatency stores the latency of information of each client
func StoreExperimentInformation ¶
func StoreExperimentInformation(databaseFile string, fkProtocol int, thrifty bool, beacon bool, execute bool, executeThreads int, replyAfterExecute bool, populate int64, gomaxprocsReplicas int, gomaxprocsClients int, batchWait int) (int64, error)
StoreExperimentInformation stores the initial information of the test
func StoreReplicaInformation ¶
StoreReplicaInformation is used by replicas to store their param
func UpdateExperimentLatency ¶
func UpdateExperimentLatency(databaseFile string, fkExperiment int64, mean float64, median float64, percentile5 float64, percentile25 float64, percentile50 float64, percentile75 float64, percentile90 float64, percentile95 float64, percentile99 float64) error
UpdateExperimentLatency is used by clients to store the results in database
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.