Mercurial > hg > svcore
diff base/RealTime.h @ 1541:71207822a7e0 zoom
Provide fromMicroseconds (and test it)
author | Chris Cannam |
---|---|
date | Thu, 27 Sep 2018 15:53:34 +0100 |
parents | 48e9f538e6e9 |
children | 6415ac3becb6 |
line wrap: on
line diff
--- a/base/RealTime.h Thu Sep 27 15:19:39 2018 +0100 +++ b/base/RealTime.h Thu Sep 27 15:53:34 2018 +0100 @@ -58,6 +58,7 @@ static RealTime fromSeconds(double sec); static RealTime fromMilliseconds(int msec); + static RealTime fromMicroseconds(int usec); static RealTime fromTimeval(const struct timeval &); static RealTime fromXsdDuration(std::string xsdd);