Pummpcomm v2.5.1 Pummpcomm.Cgm.Timestamper View Source

Adds timestamps to events based on the preceeding timestamps or timestamped events in a series of events

Link to this section Summary

Types

An event

The name of an event

Functions

If the event can serve as a reference timestamp for relative events that precede it

If the event’s timestamp is relative to the reference event’s timestamp

All events that are relative to the previous timestamp in the event series

Adds timestamps to all relative events in events using the reference events’ timestamps

Link to this section Types

Link to this type event() View Source
event() :: tuple

An event

Link to this type event_name() View Source
event_name() :: atom

The name of an event

Link to this section Functions

Link to this function is_reference_event?(event) View Source
is_reference_event?(event) :: boolean

If the event can serve as a reference timestamp for relative events that precede it

Link to this function is_relative_event?(event) View Source
is_relative_event?(event) :: boolean

If the event’s timestamp is relative to the reference event’s timestamp

Link to this function relative_events() View Source
relative_events() :: [event_name, ...]

All events that are relative to the previous timestamp in the event series

Link to this function timestamp_events(events) View Source
timestamp_events([event]) :: [event]

Adds timestamps to all relative events in events using the reference events’ timestamps