Kùzu C++ API
Loading...
Searching...
No Matches
kuzu::common::TimeMetric Class Reference

#include <metric.h>

Inheritance diagram for kuzu::common::TimeMetric:
kuzu::common::Metric

Public Member Functions

 TimeMetric (bool enable)
 
void start ()
 
void stop ()
 
double getElapsedTimeMS () const
 
- Public Member Functions inherited from kuzu::common::Metric
 Metric (bool enabled)
 
virtual ~Metric ()=default
 

Public Attributes

double accumulatedTime
 
bool isStarted
 
Timer timer
 
- Public Attributes inherited from kuzu::common::Metric
bool enabled
 

Constructor & Destructor Documentation

◆ TimeMetric()

kuzu::common::TimeMetric::TimeMetric ( bool enable)
explicit

Member Function Documentation

◆ getElapsedTimeMS()

double kuzu::common::TimeMetric::getElapsedTimeMS ( ) const

◆ start()

void kuzu::common::TimeMetric::start ( )

◆ stop()

void kuzu::common::TimeMetric::stop ( )

Member Data Documentation

◆ accumulatedTime

double kuzu::common::TimeMetric::accumulatedTime

◆ isStarted

bool kuzu::common::TimeMetric::isStarted

◆ timer

Timer kuzu::common::TimeMetric::timer

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