diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2013-04-11 23:49:58 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2013-04-11 23:49:58 +0400 |
commit | 8f81761b6997db261137b8f02c8a838b6e5bb15b (patch) | |
tree | 287e4d53167de9c1ddbb6a26e6ab0ac093bf867c /winsup/cygwin/hires.h | |
parent | 99e6ee04d657800680cced150e200e8b075957ba (diff) |
* hires.h (hires_ns::nsecs): Declare with bool parameter.
* times.cc (hires_ns::nsecs): Take bool parameter. If set to true,
don't use prime value (== return system wide absolute value).
Diffstat (limited to 'winsup/cygwin/hires.h')
-rw-r--r-- | winsup/cygwin/hires.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/hires.h b/winsup/cygwin/hires.h index c9a4def38..0135a80d4 100644 --- a/winsup/cygwin/hires.h +++ b/winsup/cygwin/hires.h @@ -48,7 +48,7 @@ class hires_ns : public hires_base double freq; void prime (); public: - LONGLONG nsecs (); + LONGLONG nsecs (bool monotonic = false); LONGLONG usecs () {return nsecs () / 1000LL;} LONGLONG resolution(); }; |