Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
b
c
d
e
h
i
l
m
n
p
r
s
u
x
Typedefs
b
c
d
e
f
g
i
m
p
r
u
v
Enumerations
Enumerator
a
b
f
g
i
m
n
r
s
u
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
h
i
m
n
p
q
r
s
t
u
v
x
Enumerations
a
c
d
e
f
k
l
m
p
r
s
t
v
w
Enumerator
a
b
d
f
g
h
i
l
m
n
o
p
r
s
u
v
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
u
v
w
Functions
b
c
d
e
f
g
m
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
w
Typedefs
Enumerations
Enumerator
Macros
_
d
f
i
m
n
p
s
t
u
shared
depthai-shared
include
depthai-shared
datatype
RawSystemInformation.hpp
Go to the documentation of this file.
1
#pragma once
2
#include <cstdint>
3
#include <vector>
4
5
#include "
depthai-shared/common/ChipTemperature.hpp
"
6
#include "
depthai-shared/common/CpuUsage.hpp
"
7
#include "
depthai-shared/common/MemoryInfo.hpp
"
8
#include "
depthai-shared/datatype/DatatypeEnum.hpp
"
9
#include "
depthai-shared/datatype/RawBuffer.hpp
"
10
#include "
depthai-shared/utility/Serialization.hpp
"
11
12
namespace
dai
{
18
struct
RawSystemInformation
:
public
RawBuffer
{
20
MemoryInfo
ddrMemoryUsage
;
22
MemoryInfo
cmxMemoryUsage
;
24
MemoryInfo
leonCssMemoryUsage
;
26
MemoryInfo
leonMssMemoryUsage
;
28
CpuUsage
leonCssCpuUsage
;
30
CpuUsage
leonMssCpuUsage
;
32
ChipTemperature
chipTemperature
;
33
34
void
serialize
(std::vector<std::uint8_t>& metadata,
DatatypeEnum
& datatype)
const override
{
35
metadata =
utility::serialize
(*
this
);
36
datatype =
DatatypeEnum::SystemInformation
;
37
};
38
39
DatatypeEnum
getType
()
const override
{
40
return
DatatypeEnum::SystemInformation
;
41
}
42
43
DEPTHAI_SERIALIZE
(
44
RawSystemInformation
,
ddrMemoryUsage
,
cmxMemoryUsage
,
leonCssMemoryUsage
,
leonMssMemoryUsage
,
leonCssCpuUsage
,
leonMssCpuUsage
,
chipTemperature
);
45
};
46
47
}
// namespace dai
dai::RawSystemInformation::chipTemperature
ChipTemperature chipTemperature
Chip temperatures.
Definition:
RawSystemInformation.hpp:32
dai::RawSystemInformation
Definition:
RawSystemInformation.hpp:18
dai::DatatypeEnum
DatatypeEnum
Definition:
DatatypeEnum.hpp:7
CpuUsage.hpp
dai::RawSystemInformation::getType
DatatypeEnum getType() const override
Definition:
RawSystemInformation.hpp:39
dai::utility::serialize
bool serialize(const T &obj, std::vector< std::uint8_t > &data)
Definition:
Serialization.hpp:38
DatatypeEnum.hpp
ChipTemperature.hpp
dai::CpuUsage
Definition:
CpuUsage.hpp:12
dai::RawSystemInformation::DEPTHAI_SERIALIZE
DEPTHAI_SERIALIZE(RawSystemInformation, ddrMemoryUsage, cmxMemoryUsage, leonCssMemoryUsage, leonMssMemoryUsage, leonCssCpuUsage, leonMssCpuUsage, chipTemperature)
dai::RawSystemInformation::leonCssCpuUsage
CpuUsage leonCssCpuUsage
LeonCss cpu usage.
Definition:
RawSystemInformation.hpp:28
RawBuffer.hpp
dai::RawSystemInformation::cmxMemoryUsage
MemoryInfo cmxMemoryUsage
CMX memory usage.
Definition:
RawSystemInformation.hpp:22
Serialization.hpp
dai::RawSystemInformation::leonCssMemoryUsage
MemoryInfo leonCssMemoryUsage
LeonCss heap usage.
Definition:
RawSystemInformation.hpp:24
dai::RawSystemInformation::leonMssMemoryUsage
MemoryInfo leonMssMemoryUsage
LeonMss heap usage.
Definition:
RawSystemInformation.hpp:26
dai::DatatypeEnum::SystemInformation
@ SystemInformation
dai::RawSystemInformation::ddrMemoryUsage
MemoryInfo ddrMemoryUsage
DDR memory usage.
Definition:
RawSystemInformation.hpp:20
dai::MemoryInfo
Definition:
MemoryInfo.hpp:12
dai::RawSystemInformation::leonMssCpuUsage
CpuUsage leonMssCpuUsage
LeonMss cpu usage.
Definition:
RawSystemInformation.hpp:30
dai::RawBuffer
RawBuffer structure.
Definition:
RawBuffer.hpp:12
dai::ChipTemperature
Definition:
ChipTemperature.hpp:12
dai::RawSystemInformation::serialize
void serialize(std::vector< std::uint8_t > &metadata, DatatypeEnum &datatype) const override
Definition:
RawSystemInformation.hpp:34
dai
Definition:
CameraExposureOffset.hpp:6
MemoryInfo.hpp
depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19