Erlang logo
User's Guide
Reference Manual
Release Notes
PDF
Top

Megaco/H.248
Reference Manual
Version 3.14.1.1


Expand All
Contract All

Table of Contents

megaco_codec_mstone2

MODULE

megaco_codec_mstone2

MODULE SUMMARY

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

DESCRIPTION

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.

EXPORTS

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.