Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ getNodeProcessorSocketCountAsync() [1/2]

std::future< std::int32_t > IceGrid::AdminPrx::getNodeProcessorSocketCountAsync ( std::string_view name,
const Ice::Context & context = Ice::noExplicitContext ) const
nodiscard

Gets the number of physical processor sockets in the computer where an IceGrid node is deployed.

Note that this operation returns 1 on operating systems where this can't be automatically determined and where the IceGrid.Node.ProcessorSocketCount property for the node is not set.

Parameters
nameThe node name.
contextThe request context.
Returns
A future that becomes available when the invocation completes. This future holds:
  • The number of processor sockets or 1 if the number of sockets can't be determined.