metric_inc

Function

def metric_inc(self, metric_name, metric_value)

Function Description

Records the increment of a metric class.

Input

metric_name: metric name.

metric_value: increment. A negative value indicates a decrease.

Return Value

The profiler returns the current object. Chain calls are supported.