MLIR  19.0.0git
Public Member Functions | Public Attributes | List of all members
mlir::TimeRecord Struct Reference

Simple record class to record timing information. More...

#include "mlir/Support/Timing.h"

Public Member Functions

 TimeRecord (double wall=0.0, double user=0.0)
 
TimeRecordoperator+= (const TimeRecord &other)
 
TimeRecordoperator-= (const TimeRecord &other)
 

Public Attributes

double wall
 
double user
 

Detailed Description

Simple record class to record timing information.

Definition at line 328 of file Timing.h.

Constructor & Destructor Documentation

◆ TimeRecord()

mlir::TimeRecord::TimeRecord ( double  wall = 0.0,
double  user = 0.0 
)
inline

Definition at line 329 of file Timing.h.

Member Function Documentation

◆ operator+=()

TimeRecord& mlir::TimeRecord::operator+= ( const TimeRecord other)
inline

Definition at line 331 of file Timing.h.

References user, and wall.

◆ operator-=()

TimeRecord& mlir::TimeRecord::operator-= ( const TimeRecord other)
inline

Definition at line 337 of file Timing.h.

References user, and wall.

Member Data Documentation

◆ user

double mlir::TimeRecord::user

Definition at line 343 of file Timing.h.

Referenced by operator+=(), and operator-=().

◆ wall

double mlir::TimeRecord::wall

Definition at line 343 of file Timing.h.

Referenced by operator+=(), and operator-=().


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