Next:
25. Debugging ns
Up:
The Manual (formerly Notes
Previous:
24.2 Other changes
Contents
Index
3
Support
Subsections
25
. Debugging ns
25
.
1
Tcl-level Debugging
25
.
2
C++-Level Debugging
25
.
3
Mixing Tcl and C debugging
25
.
4
Memory Debugging
25
.
4
.
1
Using dmalloc
25
.
4
.
2
Memory Conservation Tips
25
.
4
.
3
Some statistics collected by dmalloc
25
.
5
Memory Leaks
25
.
5
.
1
OTcl
25
.
5
.
2
C/C++
26
. Mathematical Support
26
.
1
Random Number Generation
26
.
1
.
1
Seeding The RNG
26
.
1
.
1
.
1
Example
26
.
1
.
1
.
2
Output
26
.
1
.
2
OTcl Support
26
.
1
.
2
.
1
Commands
26
.
1
.
2
.
2
Example
26
.
1
.
2
.
3
Output
26
.
1
.
3
C++ Support
26
.
1
.
3
.
1
Member Functions
26
.
1
.
3
.
2
Example
26
.
1
.
3
.
3
Output
26
.
2
Random Variables
26
.
3
Integrals
26
.
4
ns-random
26
.
5
Some mathematical-support related objects
26
.
6
Commands at a glance
27
. Trace and Monitoring Support
27
.
1
Trace Support
27
.
1
.
1
OTcl Helper Functions
27
.
2
Library support and examples
27
.
3
The C++ Trace Class
27
.
4
Trace File Format
27
.
5
Packet Types
27
.
6
Queue Monitoring
27
.
7
Per-Flow Monitoring
27
.
7
.
1
The Flow Monitor
27
.
7
.
2
Flow Monitor Trace Format
27
.
7
.
3
The Flow Class
27
.
8
Commands at a glance
28
. Test Suite Support
28
.
1
Test Suite Components
28
.
2
Write a Test Suite
29
. Dynamic Libraries
29
.
1
Motivation
29
.
2
Support
29
.
3
Usage
30
. ns Code Styles
30
.
1
Indentation style
30
.
2
Variable Naming Conventions
30
.
3
Miscellaneous
Tom Henderson 2014-12-17