PolyFEM
Loading...
Searching...
No Matches
polyfem::utils::Timing Struct Reference

#include <Timer.hpp>

Public Member Functions

 operator double () const
 
void operator+= (const double t)
 

Public Attributes

double time = 0
 
size_t count = 0
 

Detailed Description

Definition at line 16 of file Timer.hpp.

Member Function Documentation

◆ operator double()

polyfem::utils::Timing::operator double ( ) const
inline

Definition at line 18 of file Timer.hpp.

References time.

◆ operator+=()

void polyfem::utils::Timing::operator+= ( const double  t)
inline

Definition at line 20 of file Timer.hpp.

References count, and time.

Member Data Documentation

◆ count

size_t polyfem::utils::Timing::count = 0

Definition at line 27 of file Timer.hpp.

Referenced by operator+=().

◆ time

double polyfem::utils::Timing::time = 0

Definition at line 26 of file Timer.hpp.

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


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