Tom Henderson
|
e5241d93e5
|
back out unrelated changes
|
2007-10-13 15:10:23 -07:00 |
|
Tom Henderson
|
6804f40bc4
|
Clarify pkt-uid field in doxygen
|
2007-10-13 15:06:35 -07:00 |
|
Gustavo J. A. M. Carneiro
|
c0ed9be287
|
Fix bug 80 (valgrind error when finalizing PacketMetadata).
|
2007-10-08 17:44:17 +01:00 |
|
Gustavo J. A. M. Carneiro
|
f6dcef3b49
|
Add a couple of NS_LOG_PARAM calls for debugging.
|
2007-09-26 18:09:19 +01:00 |
|
Gustavo J. A. M. Carneiro
|
392b535cf0
|
Check for the common error of enabling packet metadata in the middle of a simulation, and give appropriate advice in this case. Closes #78.
|
2007-09-24 16:11:43 +01:00 |
|
Craig Dowell
|
90b02a4f6c
|
checkpoint debug to log
|
2007-09-13 17:47:42 -07:00 |
|
Mathieu Lacage
|
644fffd69f
|
merge with trunk
|
2007-09-12 11:22:32 +02:00 |
|
Mathieu Lacage
|
a84dd0068c
|
enable buffer heuristics
|
2007-09-12 11:22:05 +02:00 |
|
Mathieu Lacage
|
eb05af8e74
|
add 'internal' documentation, cleanup a bit
|
2007-09-12 11:16:18 +02:00 |
|
Mathieu Lacage
|
7c6c5fe445
|
fix non-optimized build
|
2007-09-12 10:11:57 +02:00 |
|
Mathieu Lacage
|
6969cf239a
|
optimize Iterator::ReadU8
|
2007-09-11 15:06:27 +02:00 |
|
Mathieu Lacage
|
2b3b68605e
|
optimize Buffer::WriteU8 variants
|
2007-09-11 14:56:10 +02:00 |
|
Mathieu Lacage
|
42e6c413b6
|
optimize Buffer::WriteU8
|
2007-09-11 14:10:02 +02:00 |
|
Mathieu Lacage
|
4e75362d4b
|
move around Iterator code
|
2007-09-11 13:53:39 +02:00 |
|
Mathieu Lacage
|
9bbfa99b4c
|
print some statistics about free list efficiency
|
2007-09-11 13:47:17 +02:00 |
|
Mathieu Lacage
|
8d1ac59134
|
merge tracing overhaul in trunk
|
2007-09-11 12:11:00 +02:00 |
|
Mathieu Lacage
|
cbd6277844
|
merge with trunk
|
2007-09-11 10:01:23 +02:00 |
|
Mathieu Lacage
|
313a167729
|
we handle gustavo's testcase now. Fix for bug 72
|
2007-09-10 18:52:48 +02:00 |
|
Mathieu Lacage
|
ca342d8de2
|
fix buggy assert
|
2007-09-10 18:49:00 +02:00 |
|
Mathieu Lacage
|
0c2dd78f3b
|
update carefully m_maxZeroAreaSize and update correctly m_end and m_zeroAreaEnd in RemoveAtStart
|
2007-09-10 18:43:29 +02:00 |
|
Mathieu Lacage
|
3c81d0423e
|
it is possible to zeroAreaStart to be bigger than the data buffer size
|
2007-09-10 17:55:39 +02:00 |
|
Mathieu Lacage
|
3fcc420e08
|
CreateFullCopy: the data area at the end of the buffer starts at m_zeroAreaStart. AddAtStart: the assert should be used only when the optimization is enabled.
|
2007-09-10 17:43:33 +02:00 |
|
Mathieu Lacage
|
65c099c02a
|
max zero area start can be bigger than m_end if data is removed from end of buffer
|
2007-09-10 16:57:25 +02:00 |
|
Mathieu Lacage
|
c197a4a62c
|
add state checking and fix Buffer::CreateFullCopy
|
2007-09-10 16:55:26 +02:00 |
|
Mathieu Lacage
|
60fbe881c1
|
improve debugging output
|
2007-09-10 16:55:03 +02:00 |
|
Mathieu Lacage
|
e96365a4bc
|
rewrite the buffer code extensively
|
2007-09-10 16:45:52 +02:00 |
|
Mathieu Lacage
|
1e865deaaf
|
add Buffer::m_zeroAreaStart
|
2007-09-10 08:54:11 +02:00 |
|
Mathieu Lacage
|
a0e8906575
|
make Buffer::m_end really represent the end of the data rather than its size
|
2007-09-09 21:16:05 +02:00 |
|
Mathieu Lacage
|
f13dc2777d
|
Buffer::m_size -> Buffer::m_end
|
2007-09-09 10:38:22 +02:00 |
|
Mathieu Lacage
|
0f588a8d97
|
add testcase
|
2007-09-07 19:51:46 +02:00 |
|
Mathieu Lacage
|
6ce3443a34
|
add failing testcase
|
2007-09-07 19:50:40 +02:00 |
|
Mathieu Lacage
|
1e448915d1
|
get rid of GetIndex
|
2007-09-07 19:47:06 +02:00 |
|
Mathieu Lacage
|
a9124f0a4a
|
re-implement all Iterator::Write and Iterator::Read methods
|
2007-09-07 19:39:47 +02:00 |
|
Mathieu Lacage
|
bd1adba17e
|
rewrite Iterator::WriteU8
|
2007-09-07 19:22:20 +02:00 |
|
Mathieu Lacage
|
39cb30a4be
|
simplify Iterator::GetDistanceFrom method
|
2007-09-07 18:49:47 +02:00 |
|
Mathieu Lacage
|
6ced31f8b5
|
add a m_dataStart member in Buffer::Iterator
|
2007-09-07 18:45:00 +02:00 |
|
Mathieu Lacage
|
74ceb06336
|
small typo
|
2007-09-07 17:39:18 +02:00 |
|
Mathieu Lacage
|
ee35d8ada2
|
move inline code from header to .cc file prior to rework of Buffer
|
2007-09-07 08:34:46 +02:00 |
|
Mathieu Lacage
|
fd8b0ba57d
|
an euclidian distance is always positive
|
2007-09-06 11:18:35 +02:00 |
|
Mathieu Lacage
|
b43e2f9190
|
add failing test and fix for assignment to self
|
2007-09-05 16:28:55 +02:00 |
|
Gustavo J. A. M. Carneiro
|
0824ceacd9
|
WAF: as suggested by George, add a bunch of helper waf scripts that call the toplevel waf script, so that it is possible to compile with ./waf from emacs regardless of which buffer you are visiting (the other alternative is to install waf system wide and run 'waf'.
|
2007-09-08 19:24:39 +01:00 |
|
Mathieu Lacage
|
04569d27b7
|
merge with trunk
|
2007-08-28 12:05:35 +02:00 |
|
Mathieu Lacage
|
3f159872c0
|
add operator << for Packet and TraceContext
|
2007-08-27 13:15:27 +02:00 |
|
Mathieu Lacage
|
072734f7e8
|
move trace code to core module
|
2007-08-10 15:53:43 +02:00 |
|
Mathieu Lacage
|
0b34c336f7
|
convert TraceResolver * to Ptr<TraceResolver>
|
2007-08-10 15:47:13 +02:00 |
|
Mathieu Lacage
|
6b64959309
|
avoid problems by converting back and forth between pointers and references
|
2007-08-10 15:47:00 +02:00 |
|
Mathieu Lacage
|
3153bfd916
|
add refcounting to TraceResolver
|
2007-08-10 14:43:15 +02:00 |
|
Mathieu Lacage
|
493c34dfb9
|
remove dead code
|
2007-08-10 14:28:52 +02:00 |
|
Mathieu Lacage
|
346cdbfb18
|
override Connect from ArrayTraceResolver
|
2007-08-10 14:25:58 +02:00 |
|
Mathieu Lacage
|
cb9fdc66e3
|
override Connect and Disconnect in Composite and Terminal Trace resolvers
|
2007-08-10 14:14:29 +02:00 |
|