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