ArmNN
 24.08
Instrument Class Referenceabstract

#include <Instrument.hpp>

Inheritance diagram for Instrument:
[legend]

Public Member Functions

virtual ~Instrument ()
 
virtual void Start ()=0
 
virtual void Stop ()=0
 
virtual std::vector< MeasurementGetMeasurements () const =0
 
virtual const char * GetName () const =0
 
virtual bool HasKernelMeasurements () const
 

Detailed Description

Definition at line 51 of file Instrument.hpp.

Constructor & Destructor Documentation

◆ ~Instrument()

virtual ~Instrument ( )
inlinevirtual

Definition at line 54 of file Instrument.hpp.

54 {}

Member Function Documentation

◆ GetMeasurements()

virtual std::vector<Measurement> GetMeasurements ( ) const
pure virtual

Implemented in WallClockTimer, OpenClTimer, and NeonTimer.

◆ GetName()

virtual const char* GetName ( ) const
pure virtual

Implemented in WallClockTimer, OpenClTimer, and NeonTimer.

◆ HasKernelMeasurements()

virtual bool HasKernelMeasurements ( ) const
inlinevirtual

Reimplemented in OpenClTimer, and NeonTimer.

Definition at line 64 of file Instrument.hpp.

64 { return false;}

◆ Start()

virtual void Start ( )
pure virtual

Implemented in WallClockTimer, NeonTimer, and OpenClTimer.

◆ Stop()

virtual void Stop ( )
pure virtual

Implemented in WallClockTimer, NeonTimer, and OpenClTimer.


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