Bug 1997 - fix PlotProbe() documentation and usage for GnuplotHelper and FileHelper
fix PlotProbe() documentation and usage for GnuplotHelper and FileHelper
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: stats
pre-release
PC Linux
: P5 normal
Assigned To: Tom Henderson
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-30 09:43 EDT by Tom Henderson
Modified: 2014-10-15 10:39 EDT (History)
0 users

See Also:


Attachments
patch to fix (31.88 KB, patch)
2014-09-30 09:43 EDT, Tom Henderson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Henderson 2014-09-30 09:43:29 EDT
Created attachment 1887 [details]
patch to fix

The current code and documentation is contradictory in the usage of GnuplotHelper::PlotProbe() and FileHelper::PlotProbe().  The path argument in many of the examples contains a path to a ns3::Probe instead of to an ns3::TraceSource.  The PlotProbe() method was designed for trace sources, and creates a probe itself, so passing a probe as an input is redundant.
Comment 1 Tom Henderson 2014-10-15 10:39:14 EDT
pushed in 11027:e943837b17ad