1megaco_codec_mstone1(3) Erlang Module Definition megaco_codec_mstone1(3)
2
3
4
6 megaco_codec_mstone1 - This module implements a simple megaco codec-
7 based performance tool.
8
10 This module implements the mstone1 tool, a simple megaco codec-based
11 performance tool.
12
13 The results, the mstone value(s), are written to stdout.
14
15 Note that this module is not included in the runtime part of the appli‐
16 cation.
17
19 start() -> void()
20 start(MessagePackage) -> void()
21 start(MessagePackage, Factor) -> void()
22
23 Types:
24
25 MessagePackage = message_package()
26 message_package() = atom()
27 Factor() = integer() > 0
28
29 This function starts the mstone1 performance test with all codec
30 configs. Factor (defaults to 1) processes are started for every
31 supported codec config.
32
33 Each process encodes and decodes their messages. The number of
34 messages processed in total (for all processes) is the mstone
35 value.
36
37 start_flex() -> void()
38 start_flex(MessagePackage) -> void()
39 start_flex(MessagePackage, Factor) -> void()
40
41 Types:
42
43 MessagePackage = message_package()
44 message_package() = atom()
45 Factor() = integer() > 0
46
47 This function starts the mstone1 performance test with only the
48 flex codec configs (i.e. pretty and compact with flex). The same
49 number of processes are started as when running the standard
50 test (using the start/0,1 function). Each process encodes and
51 decodes their messages. The number of messages processed in
52 total (for all processes) is the mstone value.
53
54 start_only_drv() -> void()
55 start_only_drv(MessagePackage) -> void()
56 start_only_drv(MessagePackage, Factor) -> void()
57
58 Types:
59
60 MessagePackage = message_package()
61 message_package() = atom()
62 Factor() = integer() > 0
63
64 This function starts the mstone1 performance test with only the
65 driver using codec configs (i.e. pretty and compact with flex,
66 and ber and per with driver and erlang with compressed). The
67 same number of processes are started as when running the stan‐
68 dard test (using the start/0,1 function). Each process encodes
69 and decodes their messages. The number of messages processed in
70 total (for all processes) is the mstone value.
71
72 start_no_drv() -> void()
73 start_no_drv(MessagePackage) -> void()
74 start_no_drv(MessagePackage, Factor) -> void()
75
76 Types:
77
78 MessagePackage = message_package()
79 message_package() = atom()
80 Factor() = integer() > 0
81
82 This function starts the mstone1 performance test with codec
83 configs not using any drivers (i.e. pretty and compact without
84 flex, ber and per without driver and erlang without compressed).
85 The same number of processes are started as when running the
86 standard test (using the start/0,1 function). Each process
87 encodes and decodes their messages. The number of messages pro‐
88 cessed in total (for all processes) is the mstone value.
89
90
91
92Ericsson AB megaco 3.18.8 megaco_codec_mstone1(3)