UseOnlyThisCoresCount
ProcessorSettings.UseOnlyThisCoresCount property
Especifique el número de núcleos a utilizar. Debe cambiar la propiedad “UseAllCores” a “false”.
public int UseOnlyThisCoresCount { get; set; }
Ejemplos
[C#]
BarCodeReader.ProcessorSettings.UseAllCores = false;
BarCodeReader.ProcessorSettings.UseOnlyThisCoresCount = Math.Max(1, Environment.ProcessorCount / 2);
[VB.NET]
BarCodeReader.ProcessorSettings.UseAllCores = False
BarCodeReader.ProcessorSettings.UseOnlyThisCoresCount = Math.Max(1, Environment.ProcessorCount / 2)
Ver también
- class ProcessorSettings
- espacio de nombres Aspose.BarCode.Common
- asamblea Aspose.BarCode