SystemInformation

System information message is created by the SystemLogger node.

Examples of functionality

Reference

class depthai.SystemInformation

SystemInformation message. Carries memory usage, cpu usage and chip temperatures.

getData(self: object) → numpy.ndarray[numpy.uint8]

Get non-owning reference to internal buffer

Returns

Reference to internal buffer

getRaw(self: depthai.ADatatype)depthai.RawBuffer
getSequenceNum(self: depthai.Buffer)int

Retrieves sequence number

getTimestamp(self: depthai.Buffer)datetime.timedelta

Retrieves timestamp related to dai::Clock::now()

getTimestampDevice(self: depthai.Buffer)datetime.timedelta

Retrieves timestamp directly captured from device’s monotonic clock, not synchronized to host time. Used mostly for debugging

setData(*args, **kwargs)

Overloaded function.

  1. setData(self: depthai.Buffer, arg0: List[int]) -> None

Parameter data:

Copies data to internal buffer

  1. setData(self: depthai.Buffer, arg0: numpy.ndarray[numpy.uint8]) -> None

Parameter data:

Copies data to internal buffer

setSequenceNum(self: depthai.Buffer, arg0: int)depthai.Buffer

Retrieves sequence number

setTimestamp(self: depthai.Buffer, arg0: datetime.timedelta)depthai.Buffer

Sets timestamp related to dai::Clock::now()

setTimestampDevice(self: depthai.Buffer, arg0: datetime.timedelta)depthai.Buffer

Sets timestamp related to dai::Clock::now()

class dai::SystemInformation : public dai::Buffer

SystemInformation message. Carries memory usage, cpu usage and chip temperatures.

Public Functions

SystemInformation()

Construct SystemInformation message.

SystemInformation(std::shared_ptr<RawSystemInformation> ptr)
~SystemInformation() = default

Public Members

MemoryInfo &ddrMemoryUsage
MemoryInfo &cmxMemoryUsage
MemoryInfo &leonCssMemoryUsage
MemoryInfo &leonMssMemoryUsage
CpuUsage &leonCssCpuUsage
CpuUsage &leonMssCpuUsage
ChipTemperature &chipTemperature

Private Functions

std::shared_ptr<RawBuffer> serialize() const override

Private Members

RawSystemInformation &systemInformation

Got questions?

Head over to Discussion Forum for technical support or any other questions you might have.