Commit Graph

11566 Commits

Author SHA1 Message Date
Alexander Krotov
0afb4dcc80 Optimize ByteTagList adjustment 2015-08-08 23:13:40 +03:00
Alexander Krotov
a32da6615b Byte tags benchmark 2015-08-08 18:21:45 +03:00
Alexander Krotov
57fa7f7b9b Use CommandLine to parse arguments in Packet benchmark 2015-08-08 21:45:16 +03:00
Mathieu Lacage
2e0d44a130 make minimum number of iterations 1 to avoid changing command-line behavior 2015-08-07 02:50:14 -04:00
Alexander Krotov
35f4c249d4 Optimize ByteTagList by tracking byte tags boundaries
This patch restores performance to the level nearly equal to that before
recent bugfixing, as was checked by running utils/bench-packets.
2015-07-26 19:44:33 +03:00
Mathieu Lacage
a623762bd9 merge 2015-08-07 02:47:25 -04:00
Tom Henderson
8509f28877 rescan network bindings 2015-08-06 11:15:42 -07:00
Mathieu Lacage
6c4f5c7c79 run the benchmark over multiple iterations to minimize variance 2015-08-06 05:15:51 -04:00
Alexander Krotov
ded303057a When data is written with WriteU64, it should be tested with ReadU64,
not ReadLsbtohU64.
2015-08-02 20:44:01 +03:00
Alexander Krotov
b62cf68711 Make Buffer::CreateFullCopy private 2015-08-02 19:26:37 +03:00
Alexander Krotov
01983101a6 Fragmentation and concatenation benchmark 2015-08-02 19:26:35 +03:00
Alexander Krotov
6250c61bcf Optimize Buffer::Iterator::CheckNoZero 2015-07-26 19:44:29 +03:00
Mathieu Lacage
fd74ac7616 remove un-needed return value 2015-08-05 15:20:10 -04:00
Mathieu Lacage
3ae948f663 ByteTagList::AddAtEnd/AddAtStart must be called unconditionally to ensure that newly-added bytes are not tagged when 1. Packet::AddByteTag, 2. Packet::RemoveHeader, 3. Packet.AddHEader 2015-08-05 15:11:19 -04:00
Alexander Krotov
b0577a2eac Add "unfixable" ByteTagList test case
This test case creates empty packet, removes last 50 bytes and
adds them back.

As packet is empty initially, no bytes are marked dirty.  Therefore,
Buffer::AddAtEnd returns false, indicating that added bytes were not used
before.  However, it does not know if they were tagged with byte tags.

This bug is not so easy to fix as Buffer does not have enough information
to return true in Buffer::AddAtEnd when it should.
2015-07-26 19:44:31 +03:00
Alexander Krotov
8f515dcc03 Add failing PaddingAtEnd test case 2015-07-26 19:44:30 +03:00
Alexander Krotov
def03785bf Add ByteTagList tests, 3 out of 4 failing 2015-07-26 19:44:29 +03:00
Alina Quereilhac
47d54736d4 bug 2119: Fixing memory leaks in FdNetDevice test with DefaultSimulatorImpl due to non-executed events when simulation ends 2015-08-04 22:45:54 +02:00
Sébastien Deronne
8c21bdae76 add missing mac-tx-middle.h in wifi wscript 2015-08-01 19:48:14 +02:00
Tom Henderson
dabdc5f45b remove debugging statement introduced in changeset 11540:29d2c2f5c2cf 2015-07-31 12:58:40 -07:00
Peter D. Barnes, Jr.
f7311ec17a Build profile macros 2015-07-28 16:33:35 -07:00
Sébastien Deronne
62eb723a6b fix incorrect NAV duration (reported by Xiaowen Wang) 2015-07-28 19:55:54 +02:00
Alexander Krotov
e5697f0c2c Remove ByteTagList::IsDirty{Start,End}
These functions are only used once and do not save time.  Both functions
iterate over the whole list just to prevent iterating over the whole list
if they return false. As traversing the list is required in any case,
these functions can be removed.
2015-07-26 19:44:06 +03:00
Tommaso Pecorella
9b2f73e9ae Bug 2148 - Ipv6Interface::SetUp doesn't re-create the Link-Local addresses 2015-07-24 08:59:57 +02:00
Gustavo Carneiro
1ad026d2bd Update to get pybindgen from github, with new version scheme 2015-07-26 14:01:43 +01:00
Tommaso Pecorella
871b92f377 [Doxygen] update sixlowpan in/out params 2015-07-25 23:55:40 +02:00
Tommaso Pecorella
fd1bda1bb9 [Doxygen] update topology-read in/out params 2015-07-25 20:17:45 +02:00
Peter D. Barnes, Jr.
e1a48462bc [Doxygen] Label arguments as in,out. Sentence capitalization. 2015-07-24 12:45:22 -07:00
Peter D. Barnes, Jr.
91a1e78dca Revert df256d84a7fa. 2015-07-24 11:49:59 -07:00
Peter D. Barnes, Jr.
0e5781ee97 [Sphinx] Fix mesh manual bugs. 2015-07-24 11:49:29 -07:00
Sébastien Deronne
885bb7e1cd Bug 2156 [wifi] - Duplicate packets when using two level aggregation 2015-07-23 21:55:17 +02:00
Peter D. Barnes, Jr.
62f72a7048 [Doxygen] Fix dirty repo detection. 2015-07-22 17:10:15 -07:00
Peter D. Barnes, Jr.
9e71fc449f [Doxygen] Template parameter deduction. 2015-07-22 17:09:55 -07:00
Peter D. Barnes, Jr.
aa14800121 Add NonCopyable, refactor Singleton. 2015-07-21 16:21:49 -07:00
Peter D. Barnes, Jr.
d5be610a4d [Doxygen] Remaining in core 2015-07-21 16:20:17 -07:00
Peter D. Barnes, Jr.
4d180f672c Clarify that Time arguments to Schedule are all delays wrt Now. 2015-07-21 12:20:12 -07:00
Peter D. Barnes, Jr.
69dd251a0f [Doxygen] Better documentation for NS_DEPRECATED 2015-07-10 18:13:14 -07:00
Peter D. Barnes, Jr.
39c2b005a4 Remove file-local uncalled and unimplemented functions. 2015-07-08 17:36:16 -07:00
Peter D. Barnes, Jr.
715841d0b3 Fix spelling 2015-07-06 14:43:38 -07:00
Sébastien Deronne
cce40e5148 update RELEASE_NOTES 2015-07-22 23:19:22 +02:00
Matias Richart
c971b0de7d Bug 2154 [wifi] - Incorrect power calculation in wifi power adaptation examples 2015-07-22 23:16:53 +02:00
Matias Richart
cb8b2a5ad1 Bug 2153 [wifi] - Incorrect power limits in wifi power control algorithms 2015-07-22 23:14:47 +02:00
Christopher Hepner
773bee35ac improve mesh model library documentation (based on original documentation text from Kirill Andreev) 2015-07-22 08:53:01 -07:00
Tom Henderson
31211f8dc2 add more documentation structure for mesh module 2015-07-22 08:47:43 -07:00
Tom Henderson
bc89ea5288 fix task name in wscript 2015-07-22 08:42:18 -07:00
Matthieu Coudron
368aa197c4 Simplify ns3tcp test code used for pcap writing 2015-07-22 01:13:59 +02:00
Matthieu Coudron
2f63edb779 Add SinkWithHeader to PcapHelper 2015-07-22 01:13:06 +02:00
Alina Quereilhac
559d337432 revert changeset 4be177372dc4 (Bug 2119) due to test 'dummy-network' now crashing for OS X 2015-07-20 10:27:31 +02:00
Alina Quereilhac
1b432fecac Bug 2119 - valgrind leaks intermittently reported for fd-net-device dummy-network - Required SimulatorImplementationType to be set to ns3::RealtimeSimulatorImpl 2015-07-15 16:52:16 +02:00
Tom Henderson
c75d2fb8f5 update CHANGES.html and RELEASE_NOTES 2015-07-13 20:32:31 -07:00