File: pthreadmini.dot

package info (click to toggle)
libspe2 2.2.80-95-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 940 kB
  • ctags: 1,214
  • sloc: ansic: 9,316; makefile: 551; ada: 448; sh: 24
file content (33 lines) | stat: -rw-r--r-- 1,101 bytes parent folder | download
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
digraph G {
        subgraph cluster_0 {
                style=filled;
                color=lightgrey;
                node [style=filled,color=white];
        	spe_context_create -> pthread_create -> pthread_join -> spe_context_destroy;
                label = "ppe program";
        }
        subgraph cluster_1 {
                style=filled;
                color=lightgrey;
                node [style=filled,color=white];
        	spe_image_open -> spe_program_load -> spe_context_run -> pthread_exit;
                label = "spethread";
        }
        subgraph cluster_2 {
                node [style=filled];
                hello;
                label = "spe program";
                color=black
        }
;
        start -> spe_context_create;
        pthread_create -> spe_image_open;
        spe_context_run  -> hello [tailport = ne  headport = n ]; 
        hello -> spe_context_run [tailport = w headport = se ];
        pthread_exit -> pthread_join [tailport = w headport = e];

        spe_context_destroy -> end;

        start [shape=Mdiamond];
        end [shape=Msquare];
}