calculate usage with cpu core in mind