Bugzilla – Bug 1241
document how to access trace source as an attribute
Last modified: 2019-11-05 17:00:51 EST
reminder to document this: http://mailman.isi.edu/pipermail/ns-developers/2011-July/009169.html
On Tue, May 31, 2011 at 10:16, Ruben Merz <ruben at net.t-labs.tu-berlin.de> wrote: > If I have the following: > > .AddTraceSource ("WifiMacQueueSizeTrace", > "The current size of the Wifi MAC queue", > MakeTraceSourceAccessor (&WifiMacQueue::m_size)) > > > Would m_size also be accessible through the attribute system? My current > understanding is no and so I would typically need to add a .AddAttribute > field. yes but you can AddAttribute on the TraceValue itself without introducing another variable. Mathieu
Move to core