diag_cpu2proc (int n)

Purpose

Convert logical CPU number to physical processor name.

Syntax


char *diag_cpu2proc (n)

int n;

Description

The diag_cpu2proc routine is used to convert a logical CPU number to the physical processor name in ODM CuDv class.
Note: init_dgodm must be called before starting this subroutine.

Parameters

Parameter Description
n Integer that is the logical CPU number

Return Value

Item Description
NULL If error such as ODM error, or invalid logical CPU number.
procn The name of the CuDv object for the physical processor