<< Click to Display Table of Contents >> Navigation: Modules > Asset Management > Software License Management > Authorization Analyzer (Complex license types) > AA Functions > Func06_NumCoresPerProcessor |
Description
This function returns the cores 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 'Cores' field is read from the physical asset.
•If the 'Cores' 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 'Cores' value from the master product table will be used.
•If no cores 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 cores 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 cores/processors. |
|
The value of core/processors |
False |
If the number of cores 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 |