|
Bugzilla – Full Text Bug Listing |
| Summary: | Insufficient numerical precision of timestamped simulation time in the ascii trace file (ns-3.7) | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Jakub Konka <jakub.konka> |
| Component: | core | Assignee: | Craig Dowell <craigdo> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | CC: | craigdo, ns-bugs |
| Priority: | P5 | ||
| Version: | ns-3.7 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
|
Description
Jakub Konka
2010-03-03 18:36:51 UTC
With the new tracing framework, a user can set the floating point precision of the underlying stream to whatever is required.
AsciiTraceHelper helper;
Ptr<OutputStreamWrapper> stream = helper.CreateFileStream ("file");
stream->GetStream ()->precision (8);
Does that meet your needs?
|