System Info
  • Welcome!
  • Installing
  • Quick Start
  • Reference
    • SysInfo
      • kernelArchitecture
      • kernelBitness
      • kernelName
      • kernelVersion
      • operatingSystemName
      • operatingSystemVersion
      • userDirectory
      • userId
      • userName
      • userSpaceBitness
      • cores
      • getTotalPhysicalMemory
      • getFreePhysicalMemory
      • getTotalVirtualMemory
      • getFreeVirtualMemory
      • getVirtualMemorySize
Powered by GitBook
On this page

Was this helpful?

  1. Reference
  2. SysInfo

cores

cores

Reports details about each core your chip supports.

On chips that support Simultaneous Multi-Threading (hyper-threading) we return a core for each virtual core. So a CPU with 8 physical cores that supports hyper-threading will report 16 cores.

For each core we return

  • Name - brand name of cpu

  • Vendor

  • Architecture

  • Socket - zero based socket no. Not supported on all systems and will return 0 in these cases.

The Socket represents a physical processor. Most PC and mobile devices only have a single Socket. Server grade hardware may report multiple sockets.

Example Values:

  • 4

  • 16

Example:

import "package:system_info2/system_info2.dart";

print("Processors         : ${SysInfo.processors}");
PrevioususerSpaceBitnessNextgetTotalPhysicalMemory

Last updated 3 years ago

Was this helpful?