eventlog-live-0.2.0.1: Live processing of eventlog data.
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

GHC.Eventlog.Live.Data.Span

Description

 
Synopsis

Documentation

type IsSpan s = (HasField "startTimeUnixNano" s Timestamp, HasField "endTimeUnixNano" s Timestamp) Source #

A span is any type with a start and end time.

duration :: IsSpan s => s -> Timestamp Source #

Determine the duration of a span.