public static AdjustAffinity ( int pid, ulong mask ) : void | ||
pid | int | |
mask | ulong | |
Résultat | void |
protected override Process BenchmarkStartProcess(string CommandLine) { Process BenchmarkHandle = base.BenchmarkStartProcess(CommandLine); if (AffinityMask != 0 && BenchmarkHandle != null) { CPUID.AdjustAffinity(BenchmarkHandle.Id, AffinityMask); } return(BenchmarkHandle); }
protected override Process _Start() { Process P = base._Start(); if (AffinityMask != 0 && P != null) { CPUID.AdjustAffinity(P.Id, AffinityMask); } return(P); }