diff options
Diffstat (limited to 'opendc-compute/opendc-compute-topology/src')
| -rw-r--r-- | opendc-compute/opendc-compute-topology/src/main/kotlin/org/opendc/compute/topology/TopologyFactories.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc-compute/opendc-compute-topology/src/main/kotlin/org/opendc/compute/topology/TopologyFactories.kt b/opendc-compute/opendc-compute-topology/src/main/kotlin/org/opendc/compute/topology/TopologyFactories.kt index 9e637b1b..3329f19c 100644 --- a/opendc-compute/opendc-compute-topology/src/main/kotlin/org/opendc/compute/topology/TopologyFactories.kt +++ b/opendc-compute/opendc-compute-topology/src/main/kotlin/org/opendc/compute/topology/TopologyFactories.kt @@ -122,7 +122,7 @@ private fun HostJSONSpec.toHostSpecs( CpuModel( globalCoreId++, cpu.coreCount, - cpu.coreSpeed.toMHz().toFloat(), + cpu.coreSpeed.toMHz(), ) } |
