span

fun span(pid: Int, tid: Int, category: String, name: String, beginNanos: Long, endNanos: Long, args: Map<String, String>): String

A complete event (phase X): a begin time and a duration, both in microseconds.