Skip to content

Commit c196108

Browse files
committed
memmon3
1 parent 31a9fc4 commit c196108

File tree

1 file changed

+107
-0
lines changed

1 file changed

+107
-0
lines changed

dtmi/rido/memmon-3.json

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
{
2+
"@context": "dtmi:dtdl:context;2",
3+
"@id": "dtmi:rido:memmon;3",
4+
"@type": "Interface",
5+
"contents": [
6+
{
7+
"@type": "Property",
8+
"name": "started",
9+
"schema": "dateTime"
10+
},
11+
{
12+
"@type": "Property",
13+
"name": "timesRestarted",
14+
"schema": "integer"
15+
},
16+
{
17+
"@type": "Property",
18+
"name": "enabled",
19+
"schema": "boolean",
20+
"writable": true
21+
},
22+
{
23+
"@type": [ "Property", "TimeSpan" ],
24+
"name": "interval",
25+
"schema": "integer",
26+
"writable": true,
27+
"unit": "millisecond"
28+
},
29+
{
30+
"@type": [ "Telemetry", "DataSize" ],
31+
"name": "workingSet",
32+
"schema": "double",
33+
"unit": "mebibyte"
34+
},
35+
{
36+
"@type": [ "Telemetry", "DataSize" ],
37+
"name": "managedMemory",
38+
"schema": "double",
39+
"unit": "mebibyte"
40+
},
41+
{
42+
"@type": "Command",
43+
"name": "isPrime",
44+
"request": {
45+
"name": "isPrimeReq",
46+
"schema": "integer"
47+
},
48+
"response": {
49+
"name": "isPrimeRes",
50+
"schema": "boolean"
51+
}
52+
},
53+
{
54+
"@type": "Command",
55+
"name": "malloc",
56+
"request": {
57+
"name": "allocations",
58+
"schema": "integer"
59+
}
60+
},
61+
{
62+
"@type": "Command",
63+
"name": "free"
64+
},
65+
{
66+
"@type": "Command",
67+
"name": "getRuntimeStats",
68+
"request": {
69+
"@type": "CommandPayload",
70+
"name": "diagnosticsMode",
71+
"schema": {
72+
"@type": "Enum",
73+
"enumValues": [
74+
{
75+
"name": "minimal",
76+
"enumValue": 0
77+
},
78+
{
79+
"enumValue": 1,
80+
"name": "complete"
81+
},
82+
{
83+
"name": "full",
84+
"enumValue": 2
85+
}
86+
],
87+
"valueSchema": "integer"
88+
}
89+
},
90+
"response": {
91+
"@type": "CommandPayload",
92+
"name": "diagnosticResults",
93+
"schema": {
94+
"@type": "Map",
95+
"mapKey": {
96+
"name": "key",
97+
"schema": "string"
98+
},
99+
"mapValue": {
100+
"name": "val",
101+
"schema": "string"
102+
}
103+
}
104+
}
105+
}
106+
]
107+
}

0 commit comments

Comments
 (0)