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

kernelBitness

PreviouskernelArchitectureNextkernelName

Last updated 3 years ago

Was this helpful?

kernelBitness

The kernelBitness describes the number of bits your kernel is running.

If you need to know what bitness your app is running as use .

In most cases you actually want to use userSpaceBitness as it more correctly reflects the capabilities that your application has access to. The usersSpaceBitness constrains how much memory you can allocate.

Possible values are:

  • 32

  • 64

Example:

import "package:system_info2/system_info2.dart";

print("Kernel bitness          : ${SysInfo.kernelBitness}");
userSpaceBitness