DOKK / manpages / debian 10 / erlang-manpages / megaco_codec_mstone2.3erl.en
megaco_codec_mstone2(3erl) Erlang Module Definition megaco_codec_mstone2(3erl)

megaco_codec_mstone2 - This module implements a simple megaco codec-based performance tool.

This module implements the mstone2 tool, a simple megaco codec-based performance tool.

The results, the mstone value(s), are written to stdout.

Note that this module is not included in the runtime part of the application.

start() -> void()
start(MessagePackage) -> void()

Types:

MessagePackage = message_package()
message_package() = atom()

This function starts the mstone2 performance test with all codec configs. Processes are created dynamically. Each process make one run through their messages (decoding and encoding messages) and then exits. When one process exits, a new is created with the same codec config and set of messages.

The number of messages processed in total (for all processes) is the mstone value.

megaco 3.18.4 Ericsson AB