summaryrefslogtreecommitdiff
path: root/mali_kbase/docs/policy_overview.dot
blob: 6b873359319193429c3841baaaf496b5a43a678c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/*
 *
 * (C) COPYRIGHT 2010 ARM Limited. All rights reserved.
 *
 * This program is free software and is provided to you under the terms of the
 * GNU General Public License version 2 as published by the Free Software
 * Foundation, and any use by you of this program is subject to the terms
 * of such GNU licence.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, you can access it online at
 * http://www.gnu.org/licenses/gpl-2.0.html.
 *
 * SPDX-License-Identifier: GPL-2.0
 *
 */



digraph policy_objects_diagram {
	rankdir=LR
	size="6,6"
	compound=true;

	node [ shape = box ];

	call_enqueue [ shape=plaintext label="enqueue ctx" ];


	policy_queue [ label="Policy's Queue" ];

	{
		rank=same;
		runpool [ label="Policy's Run Pool" ];

		ctx_finish [ label="ctx finished" ];
	}

	{
		rank=same;
		jobslots [ shape=record label="Jobslots: | <0>js[0] | <1>js[1] | <2>js[2]" ];

		job_finish [ label="Job finished" ];
	}



	/*
	 * Edges
	 */

	call_enqueue -> policy_queue;

	policy_queue->runpool [label="dequeue ctx" weight=0.1];
	runpool->policy_queue [label="requeue ctx" weight=0.1];

	runpool->ctx_finish [ style=dotted ];

	runpool->jobslots  [label="dequeue job" weight=0.1];
	jobslots->runpool  [label="requeue job" weight=0.1];

	jobslots->job_finish [ style=dotted ];
}