@cached_property<EOL><INDENT>def logical_cores(self):<DEDENT>
try:<EOL><INDENT>return self._logical_cores()<EOL><DEDENT>except Exception as e:<EOL><INDENT>from rez.utils.logging_ import print_error<EOL>print_error("<STR_LIT>"<EOL>% str(e))<EOL><DEDENT>return <NUM_LIT:1><EOL>
Return the number of cpu cores as reported to the os.

        May be different from physical_cores if, ie, intel's hyperthreading is
        enabled.