locel_oc_perf_sojourn_per_event
Per-event sojourn time.
For each event with at least one directly-follows predecessor, the sojourn time is
ascending event id, sorted descending.
For each event with at least one directly-follows predecessor, the sojourn time is
event_time - latest_predecessor_time in integer microseconds. Returns one row(event_id, sojourn_us) per qualifying event.top_k: if Some(k), return only the k rows with the largest sojourn_us, ties broken byascending event id, sorted descending.
None returns every qualifying event.Arguments
Returns
import r4pm
ocel = r4pm.import_item('SlimLinkedOCEL','path/to/file')
res = r4pm.bindings.locel_oc_perf_sojourn_per_event(ocel, 1)