Review Board 2.0.15


time: improve time datastructure

Review Request #425 - Created Jan. 13, 2011 and submitted

Information
Nathan Binkert
gem5
Reviewers
Default
ali, gblack, nate, stever
time: improve time datastructure

Use posix clock functions (and librt) if it is available.
Inline a bunch of functions and implement more operators.
quick regressions pass
Review request changed
Updated (Jan. 14, 2011, 5:32 a.m.)

Description:

   

time: improve time datastructure

   
   

Use posix clock functions (and librt) if it is available.

    Inline a bunch of functions and implement more operators.

-  
-  

I needed something like this for some timing code that I needed, so I just did it right since I assume that Gabe could use this to better his patch.

Diff:

Revision 2 (+235 -141)

Show changes

Ship it!
Posted (Jan. 14, 2011, 4:38 p.m.)