Documentation ¶
Index ¶
Constants ¶
View Source
const ( // benchmark IDs that must be handled as values from hosts. CPUCores = 2 RamSize = 3 StorageSize = 4 NetworkIn = 5 NetworkOut = 6 GPUCount = 7 GPUMem = 8 BenchIDEnvParamName = "SONM_BENCHMARK_ID" CPUCountBenchParam = "SONM_CPU_COUNT" GPUVendorParam = "SONM_GPU_TYPE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BenchList ¶
type ContainerBenchmarkResultsJSON ¶
type ContainerBenchmarkResultsJSON struct {
Results map[string]*ResultJSON `json:"results"`
}
ContainerBenchmarkResultsJSON describes JSON structure which container must return as result of one or many benchmarks. Maps benchmark code to result struct
type Mapping ¶
type Mapping interface { DeviceType(id int) sonm.DeviceType SplittingAlgorithm(id int) sonm.SplittingAlgorithm }
type ResultJSON ¶
ResultJSON describes results of single benchmark.
Click to show internal directories.
Click to hide internal directories.