Skip to content

Commit 850e482

Browse files
committed
Add SIO3Worker graph visualizer
1 parent 9759ef6 commit 850e482

File tree

5 files changed

+1166
-0
lines changed

5 files changed

+1166
-0
lines changed

example_graphs/example.json

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
{
2+
"external_objects" : [
3+
"example-object"
4+
],
5+
"observable_objects" : [],
6+
"observable_registers" : 1,
7+
"registers" : 3,
8+
"tasks" : [
9+
{
10+
"input_registers" : [
11+
1
12+
],
13+
"output_registers" : [
14+
0,
15+
2
16+
],
17+
"reactive" : true,
18+
"script" : "<PLACEHOLDER>",
19+
"type" : "script"
20+
},
21+
{
22+
"exclusive" : true,
23+
"filesystems" : [
24+
{
25+
"image" : "example-image",
26+
"path" : "",
27+
"type" : "image"
28+
},
29+
{
30+
"type" : "empty"
31+
},
32+
{
33+
"handle" : "example-object",
34+
"type" : "object"
35+
}
36+
],
37+
"hard_time_limit" : 2137,
38+
"mount_namespaces" : [
39+
{
40+
"mountpoints" : [
41+
{
42+
"source" : 1,
43+
"target" : "/exe",
44+
"writable" : false
45+
}
46+
],
47+
"root" : 0
48+
}
49+
],
50+
"output_register" : 1,
51+
"pid_namespaces" : 1,
52+
"pipes" : [
53+
{
54+
"buffer_size" : 1048576,
55+
"file_buffer_size" : 1073741824,
56+
"limit" : 2147483648
57+
}
58+
],
59+
"processes" : [
60+
{
61+
"arguments" : [
62+
"/exe",
63+
"--help"
64+
],
65+
"environment" : [
66+
"TERM=xterm-256color"
67+
],
68+
"image" : "/exe",
69+
"mount_namespace" : 0,
70+
"pid_namespace" : 0,
71+
"resource_group" : 0,
72+
"working_directory" : "/"
73+
}
74+
],
75+
"resource_groups" : [
76+
{
77+
"cpu_usage_limit" : 21.37,
78+
"instruction_limit" : 2137000000,
79+
"memory_limit" : 2147483648,
80+
"oom_terminate_all_tasks" : false,
81+
"pid_limit" : 8,
82+
"swap_limit" : 4,
83+
"time_limit" : 2137000000
84+
}
85+
],
86+
"system_pipes" : 3,
87+
"type" : "execution"
88+
}
89+
]
90+
}

0 commit comments

Comments
 (0)