Stopwatch Class Reference

#include <VisionX/components/pointcloud_provider/CoFusionProcessor/Stopwatch.h>

Public Member Functions

const StatsgetStats (const std::string &tag)
 
void reset ()
 
void start (const std::string &tag)
 
void stop (const std::string &tag)
 
 Stopwatch ()
 

Friends

std::ostream & operator<< (std::ostream &os, const Stopwatch &stats)
 

Detailed Description

Definition at line 30 of file Stopwatch.h.

Constructor & Destructor Documentation

◆ Stopwatch()

Stopwatch ( )

Definition at line 6 of file Stopwatch.cpp.

Member Function Documentation

◆ getStats()

const Stats & getStats ( const std::string &  tag)

Definition at line 45 of file Stopwatch.cpp.

◆ reset()

void reset ( )

Definition at line 11 of file Stopwatch.cpp.

◆ start()

void start ( const std::string &  tag)

Definition at line 17 of file Stopwatch.cpp.

+ Here is the caller graph for this function:

◆ stop()

void stop ( const std::string &  tag)

Definition at line 23 of file Stopwatch.cpp.

+ Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const Stopwatch stats 
)
friend

Definition at line 58 of file Stopwatch.cpp.


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