Fishnet 2.0.1
Framework for Graph-Based Analysis of GIS Vector Data
Loading...
Searching...
No Matches
fishnet::util::StopWatch Class Reference

StopWatch class to track execution time of a task. Time can be tracked explicitly (.stop()) or using RAII (on destruction) More...

#include <StopWatch.h>

Public Member Functions

 StopWatch ()
 
 StopWatch (const std::string &task)
 
double stop ()
 
void stopAndPrint ()
 
void reset ()
 
 ~StopWatch ()
 

Detailed Description

StopWatch class to track execution time of a task. Time can be tracked explicitly (.stop()) or using RAII (on destruction)

Constructor & Destructor Documentation

◆ StopWatch() [1/2]

StopWatch::StopWatch ( )

◆ StopWatch() [2/2]

StopWatch::StopWatch ( const std::string &  task)

◆ ~StopWatch()

StopWatch::~StopWatch ( )

Member Function Documentation

◆ reset()

void StopWatch::reset ( )

◆ stop()

double StopWatch::stop ( )

◆ stopAndPrint()

void StopWatch::stopAndPrint ( )

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