Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ion::profile::TimelineMetric Class Referenceabstract

A timeline metric processes a timeline, computes a set of metrics and adds them to a Benchmark object. More...

#include "timelinemetric.h"

Public Member Functions

virtual ~TimelineMetric ()
 
virtual void Run (const Timeline &timeline, analytics::Benchmark *benchmark) const =0
 Run the metric on the timeline and add results to benchmark. More...
 

Detailed Description

A timeline metric processes a timeline, computes a set of metrics and adds them to a Benchmark object.

Instances of this class need to be registerd with the CallTraceManager.

Definition at line 30 of file timelinemetric.h.

Constructor & Destructor Documentation

virtual ion::profile::TimelineMetric::~TimelineMetric ( )
inlinevirtual

Definition at line 32 of file timelinemetric.h.

Member Function Documentation

virtual void ion::profile::TimelineMetric::Run ( const Timeline timeline,
analytics::Benchmark benchmark 
) const
pure virtual

Run the metric on the timeline and add results to benchmark.


The documentation for this class was generated from the following file: