Instance Property

systemUptime

The amount of time the system has been awake since the last time it was restarted.

Declaration

var systemUptime: TimeInterval { get }

See Also

Getting Computer Information

var processorCount: Int

The number of processing cores available on the computer.

var activeProcessorCount: Int

The number of active processing cores available on the computer.

var physicalMemory: UInt64

The amount of physical memory on the computer in bytes.