| ns2 Network Simulator C++ Class Hierarchy of version ns-snapshot-20040722 | |
| | Home | Source Code | Manual | FAQ | Mailing List Archive | Search | | | Download | |
#include "scheduler.h"#include "random.h"Compounds | |
| class | BTree |
| class | Interface |
| class | Interface_List |
| class | Line |
| class | SRM_Event |
| class | SRM_Request |
| class | SrmNode |
| class | Star |
| struct | Topology |
Defines | |
| #define | tprintf(x) |
| #define | SRM_DATA 0 |
| #define | SRM_RREQ 1 |
| #define | SRM_PENDING_RREQ 2 |
| #define | SRM_SUPPRESS 0 |
| #define | SRM_NO_SUPPRESS 1 |
| #define | SRM_NOIF -1 |
| #define | LOG 0 |
| #define | SQRT 1 |
| #define | LINEAR 2 |
| #define | CONSTANT 3 |
Variables | |
| Topology * | topology |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Value: { \
Scheduler &_s = Scheduler::instance(); \
double _now = _s.clock(); \
printf("%f : ", _now); \
printf x;\
fflush(stdout);\
}
|
|
|
|