Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(983)

Unified Diff: src/stats/examples/file-helper-example.cc

Issue 245260043: DCF collectors
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/stats/examples/file-helper-example.cc
===================================================================
--- a/src/stats/examples/file-helper-example.cc
+++ b/src/stats/examples/file-helper-example.cc
@@ -126,9 +126,9 @@
// Write the values generated by the probe. The path that we
// provide helps to disambiguate the source of the trace.
- fileHelper.WriteProbe ("ns3::Uinteger32Probe",
- "/Names/Emitter/Counter",
- "Output");
+ fileHelper.AddProbe ("ns3::Uinteger32Probe",
+ "/Names/Emitter/Counter",
+ "Output");
// The Emitter object is not associated with an ns-3 node, so
// it won't get started automatically, so we need to do this ourselves

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b