ekg-core 0.1.1.1 → 0.1.1.2
raw patch · 3 files changed
+31/−3 lines, 3 filesdep ~basenew-uploaderPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- CHANGES.md +4/−0
- System/Metrics.hs +24/−0
- ekg-core.cabal +3/−3
CHANGES.md view
@@ -1,3 +1,7 @@+## 0.1.1.2 (2017-07-31)++ * GHC 8.2 support.+ ## 0.1.1.1 (2016-05-28) * GHC 8.0 support.
System/Metrics.hs view
@@ -445,6 +445,7 @@ -- | Empty GC statistics, as if the application hasn't started yet. emptyGCStats :: Stats.GCStats+# if MIN_VERSION_base(4,10,0) emptyGCStats = Stats.GCStats { bytesAllocated = 0 , numGcs = 0@@ -464,7 +465,30 @@ , wallSeconds = 0 , parTotBytesCopied = 0 , parMaxBytesCopied = 0+ , mblocksAllocated = 0 }+# else+emptyGCStats = Stats.GCStats+ { bytesAllocated = 0+ , numGcs = 0+ , maxBytesUsed = 0+ , numByteUsageSamples = 0+ , cumulativeBytesUsed = 0+ , bytesCopied = 0+ , currentBytesUsed = 0+ , currentBytesSlop = 0+ , maxBytesSlop = 0+ , peakMegabytesAllocated = 0+ , mutatorCpuSeconds = 0+ , mutatorWallSeconds = 0+ , gcCpuSeconds = 0+ , gcWallSeconds = 0+ , cpuSeconds = 0+ , wallSeconds = 0+ , parTotBytesCopied = 0+ , parMaxBytesCopied = 0+ }+# endif #else getGcStats = Stats.getGCStats #endif
ekg-core.cabal view
@@ -1,5 +1,5 @@ name: ekg-core-version: 0.1.1.1+version: 0.1.1.2 synopsis: Tracking of system metrics description: This library lets you defined and track system metrics.@@ -13,7 +13,7 @@ build-type: Simple extra-source-files: CHANGES.md cabal-version: >=1.10-tested-with: GHC==8.0.1, GHC == 7.10.1, GHC == 7.8.4, GHC == 7.6.3+tested-with: GHC==8.2.1, GHC==8.0.2, GHC == 7.10.3, GHC == 7.8.4, GHC == 7.6.3 library exposed-modules:@@ -31,7 +31,7 @@ build-depends: ghc-prim < 0.6,- base >= 4.5 && < 4.10,+ base >= 4.5 && < 4.11, containers >= 0.5 && < 0.6, text < 1.3, unordered-containers < 0.3