diff --git a/messung/farm/pokerbench-temperatur-duplikat.ps1 b/messung/farm/pokerbench-temperatur-duplikat.ps1 index bef4abcf..f9d1e116 100644 --- a/messung/farm/pokerbench-temperatur-duplikat.ps1 +++ b/messung/farm/pokerbench-temperatur-duplikat.ps1 @@ -35,7 +35,7 @@ Add-Type -Namespace FarmR -Name Sp -MemberDefinition @' public static double FreiGB() { MS m = new MS(); m.l = (uint)System.Runtime.InteropServices.Marshal.SizeOf(typeof(MS)); GlobalMemoryStatusEx(ref m); return m.zusagefrei / 1073741824.0; } '@ $plan = [ordered]@{}; $zaehler = @{} -foreach ($m in @($Tischliste -split ',' | % { [int]$_ })) { $i = [int]$zaehler[$m]; $zaehler[$m] = $i + 1; foreach ($a in $arme.Keys) { $plan["$a-m$m-s$i"] = @($a, $m, $i) } } +foreach ($m in @($Tischliste -split '[,\s]+' | ? { $_ } | % { [int]$_ })) { $i = [int]$zaehler[$m]; $zaehler[$m] = $i + 1; foreach ($a in $arme.Keys) { $plan["$a-m$m-s$i"] = @($a, $m, $i) } } $laeufe = @{} function Starte([string]$t) { $a, $m, $i = $plan[$t]; $aus = "$o\$t.jsonl"