next up previous contents
Next: 3.4 Concurrent Process Decomposition Up: 3 FCM Detailed Design Previous: 3.2 Receiver Module   Contents

Subsections

3.3 Queue Size Logging Module

Module Name:
rami-logger

Purpose:
The rami-logger module provides the user with a log of the queue size and $p(q)$ on the router as a function of time.

Responsibilities:
The rami-logger module is responsible for:

Collaboration:
The rami-logger module collaborates with:

SRS References:
3.1.1.6a, 3.1.1.6b, 3.1.1.6c, 3.1.1.6d

3.3.1 Logger Decomposition

The Queue Size Logging Module, rami-logger, is itself decomposed into three separate modules. Each module is responsible for a particular task needed for the logging. The modules are listed here. Note that this is a user space application, and dose not run in the kernel. Information is extracted from the file /proc/net/fcm_queue as specified in section 6.1.

rami-logger

Module Name:
rami-logger
Purpose:
This module provides the overall control of the logging, and interacts with the user.
Responsibilities:
This module is responsible for:
Collaboration:
This module collaborates with:
SRS References:
3.1.1.6a, 3.1.1.6c, 3.1.1.6d

input

Module Name:
input
Purpose:
This module reads data from the Router's data file.
Responsibilities:
This module is responsible for:
Collaboration:
This module collaborates with:
SRS References:
3.1.1.6b

output

Module Name:
output
Purpose:
This module writes data in the NETLOG file format.
Responsibilities:
This module is responsible for:
Collaboration:
This module collaborates with:
SRS References:
3.1.1.6a, 3.1.1.6b


next up previous contents
Next: 3.4 Concurrent Process Decomposition Up: 3 FCM Detailed Design Previous: 3.2 Receiver Module   Contents