newTrace method

TracePlatform newTrace(
  1. String name
)

Creates a Trace object with given name. Traces can be used to measure the time taken for a sequence of steps. Traces also include “Counters”. Counters are used to track information which is cumulative in nature (e.g., Bytes downloaded).

Implementation

TracePlatform newTrace(String name) {
  throw UnimplementedError('newTrace() is not implemented');
}