.OpenModelica.Scripting.numProcessors

Returns the number of available processors or threads.

Information

Returns the number of processors (if compiled against hwloc) or hardware threads (if using sysconf) available to OpenModelica.

Interface

function numProcessors
  output Integer result;
end numProcessors;

Generated at 2025-05-10T18:20:09Z by OpenModelicaOpenModelica 1.25.0 using GenerateDoc.mos