Func07_NumThreadsPerProcessor

<< Click to Display Table of Contents >>

Navigation:  Modules > Asset Management > Software License Management > Authorization Analyzer (Complex license types) > AA Functions >

Func07_NumThreadsPerProcessor

Description

This function returns the threads per processor from the physical asset record.

 

Processing Notes

The function first determines the if the asset being processed is a virtual machine.  

If so, the 'Parent' asset is read from the asset record to determine the physical asset.

Next, the 'LogicalProcessors' field is read from the physical asset.

If no LogicalProcessors value is found, then a false condition is raised for the function and processing is stopped.

Next, the 'Processors' field is read from the physical asset.

If the 'Processors' field is blank, then the function checks to see if a master product link is maintained for in the 'mstProdNo' field of the physical asset.

If so, then the 'Processors' value from the master product table will be used.

If no processors value is found, then a false condition is raised for the function and processing is stopped.

Finally, a quotient is calculated dividing the LogicalProcessors by processors, and that value is returned.

 

Inputs

 

Parameter

Explanation

None.

 

 

Outputs

 

Result

Result Explanation

Confidence Adjustment

Return Value

True

If a value > 0 is calculated when dividing threads/processors.

 

The value of threads/processors  

False

If the number of threads returned is < 1

If the number of processors returned is < 1

Y

0

Else

If the test asset is a virtual machine and the parent asset cannot be determined.

If the parent asset record cannot be read.

If a runtime error is encountered.

Y

0