clock 0.4.2.0 → 0.4.3.0
raw patch · 2 files changed
+8/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- System/Clock.hsc +4/−0
- clock.cabal +4/−2
System/Clock.hsc view
@@ -198,3 +198,7 @@ -- | Compute the absolute difference. diffTimeSpec :: TimeSpec -> TimeSpec -> TimeSpec diffTimeSpec ts1 ts2 = abs (ts1 - ts2)++-- | TimeSpec as nano seconds.+timeSpecAsNanoSecs :: TimeSpec -> Integer+timeSpecAsNanoSecs t = toInteger (sec t) * 1000000000 + toInteger (nsec t)
clock.cabal view
@@ -1,5 +1,5 @@ name: clock-version: 0.4.2.0+version: 0.4.3.0 stability: stable synopsis: High-resolution clock functions: monotonic, realtime, cputime. description: A package for convenient access to high-resolution clock and@@ -19,12 +19,14 @@ . Windows code corrected by Dimitri Sabadie on 2015-02-09. .+ Added @timeSpecAsNanoSecs@ as observed widely-used by Chris Done on 2015-01-06.+ . [Version Scheme] Major-@/R/@-ewrite . New-@/F/@-unctionality . @/I/@-mprovementAndBugFixes . @/P/@-ackagingOnly . * @PackagingOnly@ changes are made for quality assurance reasons. -copyright: Copyright © Cetin Sert 2009-2013, Eugene Kirpichov 2010, Finn Espen Gundersen 2013, Gerolf Seitz 2013, Mathieu Boespflug 2014, Dimitri Sabadie 2015+copyright: Copyright © Cetin Sert 2009-2013, Eugene Kirpichov 2010, Finn Espen Gundersen 2013, Gerolf Seitz 2013, Mathieu Boespflug 2014, Chris Done 2015, Dimitri Sabadie 2015 license: BSD3 license-file: LICENSE author: Cetin Sert <cetin@corsis.eu>, Corsis Research