File: percept.3

package info (click to toggle)
erlang-manpages 1%3A12.b.3-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 4,188 kB
  • ctags: 2
  • sloc: makefile: 68; perl: 30; sh: 15
file content (101 lines) | stat: -rw-r--r-- 1,605 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
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
.TH percept 3 "percept  0.7.2" "Ericsson AB" "ERLANG MODULE DEFINITION"
.SH MODULE
percept \- Percept - Erlang Concurrency Profiling Tool\&.
.SH DESCRIPTION
.LP
Percept - Erlang Concurrency Profiling Tool
.LP
This module provides the user interface for the application\&. 

.SH DATA TYPES
.RS 2
.TP 4
.B
\fIpercept_option() = procs | ports | exclusive\fR:

.RE
.SH EXPORTS
.LP
.B
analyze(Filename::string()) -> ok | {error, Reason}
.br
.RS
.LP
Analyze file\&.
.RE
.LP
.B
profile(Filename::string()) -> {ok, Port} | {already_started, Port}
.br
.RS
.LP
\fISee also:\fR percept_profile\&.
.RE
.LP
.B
profile(Filename::string(), Options::[percept_option()]) -> {ok, Port} | {already_started, Port}
.br
.RS
.LP
\fISee also:\fR percept_profile\&.
.RE
.LP
.B
profile(Filename::string(), MFA::mfa(), Options::[percept_option()]) -> ok | {already_started, Port} | {error, not_started}
.br
.RS
.LP
\fISee also:\fR percept_profile\&.
.RE
.LP
.B
start_webserver() -> {started, Hostname, Port} | {error, Reason}
.br
.RS
.TP
Types
Hostname = string()
.br
Port = integer()
.br
Reason = term()
.br
.RE
.RS
.LP
Starts webserver\&.
.RE
.LP
.B
start_webserver(Port::integer()) -> {started, Hostname, AssignedPort} | {error, Reason}
.br
.RS
.TP
Types
Hostname = string()
.br
AssignedPort = integer()
.br
Reason = term()
.br
.RE
.RS
.LP
Starts webserver\&. If port number is 0, an available port number will be assigned by inets\&.
.RE
.LP
.B
stop_profile() -> ok | {error, not_started}
.br
.RS
.LP
\fISee also:\fR percept_profile\&.
.RE
.LP
.B
stop_webserver() -> ok | {error, not_started}
.br
.RS
.LP
Stops webserver\&.
.RE