SessionUnitType enumeration

Defines values to indicate the type of hardware resources used to determine to nodes on which the service job for a service-oriented architecture (SOA) session can run.

Syntax

typedef enum  { 
  SessionUnitType_Core    = 0,
  SessionUnitType_Socket  = 1,
  SessionUnitType_Node    = 2
} SessionUnitType;

Constants

  • SessionUnitType_Core
    Uses cores to schedule the service job.

  • SessionUnitType_Socket
    Uses sockets to scheduler the service job.

  • SessionUnitType_Node
    Uses nodes to schedule the service job.

Remarks

The least granular resource unit is the node and the most granular resource unit is the core. For example, a node can have four cores on one socket and the node can contain multiple sockets. A job can specify that it needs a minimum of four nodes to run, regardless of how many cores are on each node. The job could also specify that it needs four cores to run, so it could run on one node that had four cores or on multiple nodes with one or two cores.

Use the values of this enumeration when you specify the resources that the SOA session for the IExcelClient interface should use.

Requirements

Product

HPC Pack 2008 R2 Client Utilities

Type library

Microsoft.Hpc.Excel.tlb

See also

IExcelClient::OpenSession