Copyright | Copyright (c) 2017 David Sorokin <david.sorokin@gmail.com> |
---|---|
License | BSD3 |
Maintainer | David Sorokin <david.sorokin@gmail.com> |
Stability | experimental |
Safe Haskell | None |
Language | Haskell98 |
Tested with: GHC 8.0.2
The module defines transformations for the simulation results.
- newtype Queue m = Queue (ResultTransform m)
- queueNull :: Queue m -> ResultTransform m
- queueContent :: Queue m -> ResultTransform m
- queueContentStats :: Queue m -> TimingStats m
- enqueueCount :: Queue m -> ResultTransform m
- enqueueZeroEntryCount :: Queue m -> ResultTransform m
- queueWaitTime :: Queue m -> SamplingStats m
- queueNonZeroEntryWaitTime :: Queue m -> SamplingStats m
- queueRate :: Queue m -> ResultTransform m
- newtype Facility m = Facility (ResultTransform m)
- facilityCount :: Facility m -> ResultTransform m
- facilityCountStats :: Facility m -> TimingStats m
- facilityCaptureCount :: Facility m -> ResultTransform m
- facilityUtilisationCount :: Facility m -> ResultTransform m
- facilityUtilisationCountStats :: Facility m -> TimingStats m
- facilityQueueCount :: Facility m -> ResultTransform m
- facilityQueueCountStats :: Facility m -> TimingStats m
- facilityTotalWaitTime :: Facility m -> ResultTransform m
- facilityWaitTime :: Facility m -> SamplingStats m
- facilityTotalHoldingTime :: Facility m -> ResultTransform m
- facilityHoldingTime :: Facility m -> SamplingStats m
- facilityInterrupted :: Facility m -> ResultTransform m
- newtype Storage m = Storage (ResultTransform m)
- storageCapacity :: Storage m -> ResultTransform m
- storageEmpty :: Storage m -> ResultTransform m
- storageFull :: Storage m -> ResultTransform m
- storageContent :: Storage m -> ResultTransform m
- storageContentStats :: Storage m -> TimingStats m
- storageUseCount :: Storage m -> ResultTransform m
- storageUsedContent :: Storage m -> ResultTransform m
- storageUtilisationCount :: Storage m -> ResultTransform m
- storageUtilisationCountStats :: Storage m -> TimingStats m
- storageQueueCount :: Storage m -> ResultTransform m
- storageQueueCountStats :: Storage m -> TimingStats m
- storageTotalWaitTime :: Storage m -> ResultTransform m
- storageWaitTime :: Storage m -> SamplingStats m
- storageAverageHoldingTime :: Storage m -> ResultTransform m
Documentation
Represents the Queue
.
Queue (ResultTransform m) |
ResultTransformer Queue m Source # | An instance of the result transformer. |
queueContent :: Queue m -> ResultTransform m Source #
Property queueContent
.
queueContentStats :: Queue m -> TimingStats m Source #
Property queueContentStats
.
enqueueCount :: Queue m -> ResultTransform m Source #
Property enqueueCount
.
enqueueZeroEntryCount :: Queue m -> ResultTransform m Source #
Property enqueueZeroEntryCount
.
queueWaitTime :: Queue m -> SamplingStats m Source #
Property queueWaitTime
.
queueNonZeroEntryWaitTime :: Queue m -> SamplingStats m Source #
Property queueNonZeroEntryWaitTime
.
Represents the Facility
.
ResultTransformer Facility m Source # | An instance of the result transformer. |
facilityCount :: Facility m -> ResultTransform m Source #
Property facilityCount
.
facilityCountStats :: Facility m -> TimingStats m Source #
Property facilityCountStats
.
facilityCaptureCount :: Facility m -> ResultTransform m Source #
Property facilityCaptureCount
.
facilityUtilisationCount :: Facility m -> ResultTransform m Source #
Property facilityUtilisationCount
.
facilityUtilisationCountStats :: Facility m -> TimingStats m Source #
Property facilityUtilisationCountStats
.
facilityQueueCount :: Facility m -> ResultTransform m Source #
Property facilityQueueCount
.
facilityQueueCountStats :: Facility m -> TimingStats m Source #
Property facilityQueueCountStats
.
facilityTotalWaitTime :: Facility m -> ResultTransform m Source #
Property facilityTotalWaitTime
.
facilityWaitTime :: Facility m -> SamplingStats m Source #
Property facilityWaitTime
.
facilityTotalHoldingTime :: Facility m -> ResultTransform m Source #
Property facilityTotalHoldingTime
.
facilityHoldingTime :: Facility m -> SamplingStats m Source #
Property facilityHoldingTime
.
facilityInterrupted :: Facility m -> ResultTransform m Source #
Property facilityInterrupted
.
Represents the Storage
.
ResultTransformer Storage m Source # | An instance of the result transformer. |
storageCapacity :: Storage m -> ResultTransform m Source #
Property storageCapacity
.
storageEmpty :: Storage m -> ResultTransform m Source #
Property storageEmpty
.
storageFull :: Storage m -> ResultTransform m Source #
Property storageFull
.
storageContent :: Storage m -> ResultTransform m Source #
Property storageContent
.
storageContentStats :: Storage m -> TimingStats m Source #
Property storageContentStats
.
storageUseCount :: Storage m -> ResultTransform m Source #
Property storageUseCount
.
storageUsedContent :: Storage m -> ResultTransform m Source #
Property storageUsedContent
.
storageUtilisationCount :: Storage m -> ResultTransform m Source #
Property storageUtilisationCount
.
storageUtilisationCountStats :: Storage m -> TimingStats m Source #
Property storageUtilisationCountStats
.
storageQueueCount :: Storage m -> ResultTransform m Source #
Property storageQueueCount
.
storageQueueCountStats :: Storage m -> TimingStats m Source #
Property storageQueueCountStats
.
storageTotalWaitTime :: Storage m -> ResultTransform m Source #
Property storageTotalWaitTime
.
storageWaitTime :: Storage m -> SamplingStats m Source #
Property storageWaitTime
.
storageAverageHoldingTime :: Storage m -> ResultTransform m Source #
Property storageAverageHoldingTime
.