Show / Hide Table of Contents

Class ProcessorUtils

Inheritance
System.Object
ProcessorUtils
Namespace: Eco.Core.Utils
Assembly: Eco.Core.dll
Syntax
public static class ProcessorUtils : Object

Methods

GetAvailableProcessorCount()

Returns number of available processors. Uses processor affinity if platform supports it (windows or linux) or System.Environment.ProcessorCount otherwise.

Declaration
public static int GetAvailableProcessorCount()
Returns
Type Description
System.Int32
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾