Next:
21. Debugging ns
Up:
The Manual (formerly Notes
Previous:
20.6 Commands at a
Contents
Index
3
Support
Subsections
21
. Debugging ns
21
.
1
Tcl-level Debugging
21
.
2
C++-Level Debugging
21
.
3
Mixing Tcl and C debugging
21
.
4
Memory Debugging
21
.
4
.
1
Using dmalloc
21
.
4
.
2
Memory Conservation Tips
21
.
4
.
3
Some statistics collected by dmalloc
21
.
5
Memory Leaks
21
.
5
.
1
OTcl
21
.
5
.
2
C/C++
22
. Mathematical Support
22
.
1
Random Number Generation
22
.
1
.
1
Seeding The RNG
22
.
1
.
1
.
1
Example
22
.
1
.
1
.
2
Output
22
.
1
.
2
OTcl Support
22
.
1
.
2
.
1
Commands
22
.
1
.
2
.
2
Example
22
.
1
.
2
.
3
Output
22
.
1
.
3
C++ Support
22
.
1
.
3
.
1
Member Functions
22
.
1
.
3
.
2
Example
22
.
1
.
3
.
3
Output
22
.
2
Random Variables
22
.
3
Integrals
22
.
4
ns-random
22
.
5
Some mathematical-support related objects
22
.
6
Commands at a glance
23
. Trace and Monitoring Support
23
.
1
Trace Support
23
.
1
.
1
OTcl Helper Functions
23
.
2
Library support and examples
23
.
3
The C++ Trace Class
23
.
4
Trace File Format
23
.
5
Packet Types
23
.
6
Queue Monitoring
23
.
7
Per-Flow Monitoring
23
.
7
.
1
The Flow Monitor
23
.
7
.
2
Flow Monitor Trace Format
23
.
7
.
3
The Flow Class
23
.
8
Commands at a glance
24
. Test Suite Support
24
.
1
Test Suite Components
24
.
2
Write a Test Suite
25
. ns Code Styles
25
.
1
Indentation style
25
.
2
Variable Naming Conventions
25
.
3
Miscellaneous
Paul Kroon 2008-03-16