Get the total CPU cores. The result will be rounded to the nearest integer.
For example, if the total CPU is 1.5 cores(1500 millicores), the result will be 2.
Get the total memory in bytes. If the memory limit is unset, it will return the total memory from host system.
If the system is not supported to get the total host memory, it will return 0.