time: improve time datastructure
authorNathan Binkert <nate@binkert.org>
Sat, 15 Jan 2011 15:48:25 +0000 (07:48 -0800)
committerNathan Binkert <nate@binkert.org>
Sat, 15 Jan 2011 15:48:25 +0000 (07:48 -0800)
commit318bfe9d4f4308321dfa923d3da36230fc98d62e
treeb1bc3ef3a778ed7c2a6fd263f06728c861d73fce
parentc82a8979a3909037a1654fc66cb215b5bacadb08
time: improve time datastructure

Use posix clock functions (and librt) if it is available.
Inline a bunch of functions and implement more operators.
* * *
time: more cleanup
SConstruct
src/base/time.cc
src/base/time.hh
src/sim/stat_control.cc