trackTask

fun trackTask(name: String): StatTracker

Track the duration of a task.