Commit Graph

31 Commits

Author SHA1 Message Date
Peter D. Barnes, Jr.
0f2f1a7055 Doxygen files. 2015-05-04 17:55:16 -07:00
Peter D. Barnes, Jr.
8de4b6ed1e [Doxygen] Clean up references to non-POD TracedValueCallbacks 2014-12-12 14:48:13 -08:00
Peter D. Barnes, Jr.
bfdb6ef10a [Bug 1551] Redux: NS_LOG_COMPONENT_DEFINE inside or outside of ns3 namespace? 2014-09-26 15:51:00 -07:00
Peter D. Barnes, Jr.
49bf6a544f [Doxygen] Fix errors; fix organization of Callback; organize Time. 2014-08-13 17:17:26 -07:00
Peter D. Barnes, Jr.
45530120f2 Simplify output of Times in a specific unit; see Time::As () 2014-04-02 18:47:04 -07:00
Peter D. Barnes, Jr.
a274c8ea37 [doxygen] Make introspected lists more visible, various other doxy 2014-03-10 10:57:50 -07:00
Peter D. Barnes, Jr.
3ec3b6a878 [Bug 1862] NS_LOG="Time=*|prefix_time" causes stack overflow 2014-02-21 16:27:43 -08:00
Peter D. Barnes, Jr.
472839ca28 Make Time printer ignore stream flags. 2014-01-10 17:22:45 -08:00
Vedran Miletić
df005f262e Introduce additional Time units (Year, Day, Hour, Minute) 2013-12-06 19:42:02 +01:00
Peter D. Barnes, Jr.
94507fe6f1 bug 954: eliminate valgrind warnings 2013-08-21 15:27:21 -07:00
Peter D. Barnes, Jr.
3fb1d11a1e [Bug 954] Protect g_markingTimes with a mutex. 2013-08-16 11:10:19 -07:00
Peter D. Barnes, Jr.
eba69d2728 Handle showpos bug in gcc libstc++ 4.2. 2013-08-14 16:55:47 -07:00
Peter D. Barnes, Jr.
39f6b03211 Restore "x.0ns" to result of operator<< (Time) 2013-08-14 16:55:06 -07:00
Peter D. Barnes, Jr.
fbf500f9b0 Fix bug affecting conversion of Time::Min/Time::Max during Time::SetResolution 2013-08-14 16:54:22 -07:00
Peter D. Barnes, Jr.
ffcfd9de72 Trim trailing whitespace, doxygen comments 2013-08-14 16:53:41 -07:00
Peter D. Barnes, Jr.
85e9ba3b48 bug 954: Changing the simulation time resolution does not work well with attributes
v.3 Responding to code review comments

https://codereview.appspot.com/6821106/
2013-08-14 16:52:06 -07:00
Peter D. Barnes, Jr.
d14530f0ca Fix unit conversion of negative Times
Thanks to Vedran for finding this.

Example:

  Time tneg = Seconds (-1);
  NS_LOG_UNCOND ( tneg << ", in s: " << tneg.ToInteger (Time::S));

produces

  -1000000000.0ns, in s: 18446744072

Correct result is

  -1000000000.0ns, in s: -1
2013-07-25 12:17:08 -07:00
Peter D. Barnes, Jr.
a7d87403f6 Time attributes with enforced bounds.
The following stanza in GetTypeId() will restrict the value to

    -5s  <=  m_timeWithBounds  <= 10s

.AddAttribute ("TestTimeWithBounds", "help text",
               TimeValue (Seconds (-2)),
               MakeTimeAccessor (&AttributeObjectTest::m_timeWithBounds),
               MakeTimeChecker (Seconds (-5), Seconds (10)))
2013-07-03 11:19:21 -07:00
Tom Henderson
5aca64e824 remove logging from Time operators 2012-12-16 17:02:18 -08:00
Tom Henderson
f1734920c9 bug 954: back out changesets 1a2abe07b53d, 8934b7c0c1cb, and 8ef8d8bae350 2012-12-15 23:02:03 -08:00
Mathieu Lacage
6fae6e5605 try to nail down some of the subtler aspects of calling Time::SetResolution 2012-12-12 04:50:46 -05:00
Mathieu Lacage
55e526d400 bug 954: avoid segfault upon startup due to recursion in TimeSet code to Simulator::Schedule 2012-12-12 04:10:25 -05:00
Peter D. Barnes, Jr.
3086fb5c95 bug 954: Changing the simulation time resolution does not work well with attributes 2012-12-08 21:23:44 -08:00
Maja Grubišić
5e6ad05194 Clean up function logging of core module. 2012-11-10 19:16:38 +01:00
Vedran Miletić
71e380b55e Bug 1237 - code cleanups related to includes 2012-09-01 20:57:21 +02:00
Mitch Watrous
2e030ed11d Bug 1204 - Can't Parse Time +100000000.0ns 2011-11-11 14:36:05 -08:00
Mathieu Lacage
4c41275a11 remove ns3/ prefix which is un-needed now that all files are in same module. 2011-08-02 01:59:36 -07:00
Josh Pelkey
86379fa5b5 core coding style changes 2011-05-13 14:52:27 -04:00
Mathieu Lacage
a2fab881af merge with HEAD 2011-04-13 08:26:47 +02:00
Mitch Watrous
3ea59bed63 Move tests from some modules to their test libraries 2011-03-25 12:55:27 -07:00
Tom Henderson
df07734f32 merge src/simulator into src/core; move src/core to new module layout 2011-02-18 16:05:39 -08:00