Skip to content

Commit c22ef3c

Browse files
authored
Merge pull request #344 from luxonis/sysinfo_docs_fix
Fixed ddr typo
2 parents 99e0cd8 + be0b479 commit c22ef3c

File tree

3 files changed

+18
-16
lines changed

3 files changed

+18
-16
lines changed

depthai-core

docs/source/samples/system_information.rst

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,35 +10,37 @@ Example script output
1010

1111
.. code-block::
1212
13-
Drr used / total - 0.13 / 414.80 MiB
13+
Ddr used / total - 0.13 / 414.80 MiB
1414
Cmx used / total - 2.24 / 2.50 MiB
1515
LeonCss heap used / total - 4.17 / 46.41 MiB
1616
LeonMss heap used / total - 2.87 / 27.58 MiB
17-
Chip temperature - average: 38.59, css: 39.81, mss: 37.71, upa0: 38.65, upa1: 38.18
18-
Cpu usage - Leon OS: 7.08%, Leon RT: 1.48 %
17+
Chip temperature - average: 38.59, css: 39.81, mss: 37.71, upa: 38.65, dss: 38.18
18+
Cpu usage - Leon CSS: 7.08%, Leon MSS: 1.48 %
1919
----------------------------------------
20-
Drr used / total - 0.13 / 414.80 MiB
20+
Ddr used / total - 0.13 / 414.80 MiB
2121
Cmx used / total - 2.24 / 2.50 MiB
2222
LeonCss heap used / total - 4.17 / 46.41 MiB
2323
LeonMss heap used / total - 2.87 / 27.58 MiB
24-
Chip temperature - average: 38.59, css: 39.58, mss: 37.94, upa0: 38.18, upa1: 38.65
25-
Cpu usage - Leon OS: 1.55%, Leon RT: 0.30 %
24+
Chip temperature - average: 38.59, css: 39.58, mss: 37.94, upa: 38.18, dss: 38.65
25+
Cpu usage - Leon CSS: 1.55%, Leon MSS: 0.30 %
2626
----------------------------------------
27-
Drr used / total - 0.13 / 414.80 MiB
27+
Ddr used / total - 0.13 / 414.80 MiB
2828
Cmx used / total - 2.24 / 2.50 MiB
2929
LeonCss heap used / total - 4.17 / 46.41 MiB
3030
LeonMss heap used / total - 2.87 / 27.58 MiB
31-
Chip temperature - average: 38.94, css: 40.04, mss: 38.18, upa0: 39.35, upa1: 38.18
32-
Cpu usage - Leon OS: 0.56%, Leon RT: 0.06 %
31+
Chip temperature - average: 38.94, css: 40.04, mss: 38.18, upa: 39.35, dss: 38.18
32+
Cpu usage - Leon CSS: 0.56%, Leon MSS: 0.06 %
3333
----------------------------------------
34-
Drr used / total - 0.13 / 414.80 MiB
34+
Ddr used / total - 0.13 / 414.80 MiB
3535
Cmx used / total - 2.24 / 2.50 MiB
3636
LeonCss heap used / total - 4.17 / 46.41 MiB
3737
LeonMss heap used / total - 2.87 / 27.58 MiB
38-
Chip temperature - average: 39.46, css: 40.28, mss: 38.88, upa0: 39.81, upa1: 38.88
39-
Cpu usage - Leon OS: 0.51%, Leon RT: 0.06 %
38+
Chip temperature - average: 39.46, css: 40.28, mss: 38.88, upa: 39.81, dss: 38.88
39+
Cpu usage - Leon CSS: 0.51%, Leon MSS: 0.06 %
4040
----------------------------------------
4141
42+
- :code:`upa` represents the temperature of the SHAVE block
43+
- :code:`dss` represents the temperature od the DDR subsystem
4244

4345
Setup
4446
#####

examples/system_information.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55

66
def printSystemInformation(info):
77
m = 1024 * 1024 # MiB
8-
print(f"Drr used / total - {info.ddrMemoryUsage.used / m:.2f} / {info.ddrMemoryUsage.total / m:.2f} MiB")
8+
print(f"Ddr used / total - {info.ddrMemoryUsage.used / m:.2f} / {info.ddrMemoryUsage.total / m:.2f} MiB")
99
print(f"Cmx used / total - {info.cmxMemoryUsage.used / m:.2f} / {info.cmxMemoryUsage.total / m:.2f} MiB")
1010
print(f"LeonCss heap used / total - {info.leonCssMemoryUsage.used / m:.2f} / {info.leonCssMemoryUsage.total / m:.2f} MiB")
1111
print(f"LeonMss heap used / total - {info.leonMssMemoryUsage.used / m:.2f} / {info.leonMssMemoryUsage.total / m:.2f} MiB")
1212
t = info.chipTemperature
13-
print(f"Chip temperature - average: {t.average:.2f}, css: {t.css:.2f}, mss: {t.mss:.2f}, upa0: {t.upa:.2f}, upa1: {t.dss:.2f}")
14-
print(f"Cpu usage - Leon OS: {info.leonCssCpuUsage.average * 100:.2f}%, Leon RT: {info.leonMssCpuUsage.average * 100:.2f} %")
13+
print(f"Chip temperature - average: {t.average:.2f}, css: {t.css:.2f}, mss: {t.mss:.2f}, upa: {t.upa:.2f}, dss: {t.dss:.2f}")
14+
print(f"Cpu usage - Leon CSS: {info.leonCssCpuUsage.average * 100:.2f}%, Leon MSS: {info.leonMssCpuUsage.average * 100:.2f} %")
1515
print("----------------------------------------")
1616

1717
# Create pipeline

0 commit comments

Comments
 (0)