Peter D. Barnes, Jr
c9769dc400
core: refactor reverse ordering in calendar scheduler
...
Refactor to clarify the core algorithms and isolate the
forward/reverse differences to one section.
This also lets the insertion order to be set by Attribute.
Benchmarking this appears to be marginally faster than
Alexander Krotov's original version. It's not clear why;
should be marginally slower.
2020-05-12 12:05:01 -07:00
Alexander Krotov
1f6a710dbd
core: Port calendar scheduler improvement from NS-2.
...
It reverses the order of insertion sort in buckets.
2020-05-12 12:05:01 -07:00
Alexander Krotov
82b555582e
core: PriorityQueueScheduler based on std::priority_queue
...
This has a stub for Remove, which just cancels the event.
In turn this causes the simulator test case to fail, because of
the sanity check at the end of DefaultSimulatorImpl::Run.
2020-05-01 23:50:34 +00:00
Peter D. Barnes, Jr
b23be18b3b
Use CommandLine cmd (__FILE__) instead of COMMANDLINE macro.
...
This in effect replaces commit 5e624d550
2020-05-01 14:42:53 -07:00
Peter D. Barnes, Jr
5e624d5504
doc: Use the new COMMANDLINE macro in every example
2020-04-27 16:20:09 -07:00
Robert Ammon
f25f9dc730
utils: Doxygen updates for utils directory
2017-02-24 09:23:49 -08:00
Natale Patriciello
2e1295d7f3
utils: fixes style on bench-simulator.cc
2016-11-11 12:09:16 +01:00
Natale Patriciello
86fc7190a8
utils: ( fixes #2535 ) corrected memleak on bench-sim
2016-11-11 12:08:44 +01:00
Tom Henderson
5a76830b73
bug 2127: Scheduler benchmark utility works correctly in first run only (patch due to Philipp Andelfinger)
2015-06-24 21:39:59 -07:00
Peter D. Barnes, Jr.
38a03c2802
Refactor utils/bench-simulator to use CommandLine, RandomVariableStream
2013-06-14 14:12:56 -07:00
Josh Pelkey
e09cf6a452
remove duplicate core-module.h includes
2011-03-01 09:59:55 -05:00
Tom Henderson
df07734f32
merge src/simulator into src/core; move src/core to new module layout
2011-02-18 16:05:39 -08:00
Guillaume Seguin
0289746207
Simulator::SetScheduler now takes an ObjectFactory
2009-11-12 13:19:35 +01:00
Mathieu Lacage
9028ab74c9
make sure memory is initialized
2009-07-15 08:36:41 +02:00
Mathieu Lacage
b2624f8ae9
handle calendar scheduler in bench
2009-01-09 07:51:42 +01:00
Mathieu Lacage
36f196a9a0
bug 252: get rid of dead code.
2008-07-28 08:54:20 -07:00
Mathieu Lacage
b93a9aeef4
bug 245: build failure with gcc 4.3.x
2008-07-02 03:16:36 -07:00
Mathieu Lacage
6fd8b6c572
bug 143: rename scheduler files
2008-04-15 10:09:42 -07:00
Mathieu Lacage
d1d683ee21
remove 'All rigts reserved' keyword per tom's suggestion
2008-03-31 14:56:41 -07:00
Mathieu Lacage
59df24f63f
do not use DefaultValues in simulator
2008-03-03 20:47:12 +01:00
Mathieu Lacage
311c6ce026
add command-line options to simulator benchmark
2006-12-15 10:19:49 +01:00
Mathieu Lacage
3473e1cb60
fix coding style
2006-12-12 13:53:30 +01:00
Mathieu Lacage
b34af189e6
add help output to simulator bench/tester
2006-12-12 13:50:35 +01:00
Mathieu Lacage
ac043f3e9d
rename Time::ApproximateTo methods to Time::Get
2006-11-21 15:53:32 +01:00
Mathieu Lacage
b4e41a481b
make Time relative instead of Absolute
2006-11-21 15:50:09 +01:00
Mathieu Lacage
0fade9d7af
fix coding style
2006-11-01 13:11:30 +01:00
Mathieu Lacage
4449e8b51d
new Time implementation
2006-10-28 21:21:34 +02:00
Mathieu Lacage
90df8d054b
change emacs mode to new NS3 elisp mode
2006-10-20 14:17:03 +02:00
Mathieu Lacage
7f8eb2c50b
fix coding style
2006-10-06 13:37:25 +02:00
Mathieu Lacage
9f93b7fb53
fix emacs tab mode (reported by george)
2006-10-02 14:34:53 +02:00
Mathieu Lacage
f935fe02bd
change indent to be 4 spaces
2006-09-05 13:18:11 +02:00
Mathieu Lacage
e57dd3faa5
variable/method/function coding style update
2006-09-05 13:13:39 +02:00
Mathieu Lacage
79ba177ba4
fix us/ns handling
2006-09-04 13:18:16 +02:00
Mathieu Lacage
554cb205f4
remove more unused files, rename system files
2006-09-04 12:28:04 +02:00
Mathieu Lacage
02fa792b81
first cut at george's ideas on api
2006-09-03 12:24:04 +02:00
Mathieu Lacage
28c0b86278
change yans namespace to ns3
2006-08-29 17:55:34 +02:00
Mathieu Lacage
e54c17ecd7
replace yans include with ns3 include
2006-08-29 17:51:04 +02:00
Mathieu Lacage
a95a257ae9
utils and samples
2006-08-29 17:47:17 +02:00