Commit Graph

11932 Commits

Author SHA1 Message Date
Peter D. Barnes, Jr.
820548b9ac TypeTraits<T>::BaseType, PtrBaseType and IsPtr 2015-08-12 16:37:08 -07:00
Peter D. Barnes, Jr.
f39a77b1a5 Add filter-out option, relabel some options, for doxygen.warning.report.sh 2015-08-12 14:57:34 -07:00
Peter D. Barnes, Jr.
baddf3f749 Refactor TracedValue callback function signatures.
Move from template class TracedValue to namespace TracedValueCallback.

Rename from [type]Callback to just [type]:
TracedValue<double>::DoubleCallback  -> TracedValueCallback::Double
2015-07-29 13:56:55 -07:00
Peter D. Barnes, Jr.
6c8fcc72b9 GetDevice() should be const. 2015-08-13 12:10:01 -07:00
Peter D. Barnes, Jr.
d81c292aba Remove obsolete struct, never invoked. 2015-07-29 12:44:41 -07:00
Tom Henderson
6db467ef95 update test documentation 2015-08-13 11:08:56 -07:00
Tom Henderson
2704990f20 fix mesh doxygen 2015-08-13 10:24:42 -07:00
Tom Henderson
04a0f64427 fix typo 2015-08-13 09:20:55 -07:00
Tom Henderson
686844f601 add missing author 2015-08-13 09:19:58 -07:00
Sébastien Deronne
1723645d4e rescan bindings 2015-08-09 21:17:18 +02:00
Sébastien Deronne
c66070b52c cleanup 2015-08-09 20:50:54 +02:00
Sébastien Deronne
3f1a93b68b [network] Rebuild python bindings 2015-08-09 20:29:17 +02:00
Peter D. Barnes, Jr.
aaa6ddae99 Remove obsolete struct, never invoked. 2015-07-29 12:44:41 -07:00
Alexander Krotov
292979e742 Removed GetCurrentStartOffset and GetCurrentEndOffset 2015-07-26 19:44:31 +03:00
Alexander Krotov
7fb26bfe59 Make ByteTagList offsets relative to packet start 2015-07-26 19:44:32 +03:00
Alexander Krotov
19488ad7aa Factor ByteTagList::Adjust out of ByteTagList::AddAt{Start,End} 2015-08-08 23:33:55 +03:00
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