summaryrefslogtreecommitdiff
path: root/ctxswitches_dot.dot
blob: a906fb0b82d316199d0a29dbb3ab2f60e24d778b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
digraph ctxswitches {
    graph [margin=0.10];
    graph [rankdir=TB];
    splines=line;

    {node [label="Sender"] client}
    {node [label="Bus daemon"] busdaemon}
    {node [label="Receiver"] service}
    {node [label="Operating system kernel"] kernel}

    subgraph {
        rank=same; client; busdaemon; service;

        client -> busdaemon [style=invis];
        busdaemon -> service [style=invis];
    }

    client -> kernel:c;
    kernel:nw -> busdaemon;
    busdaemon -> kernel:ne;
    kernel:c -> service;
}