Cadabra
Computer algebra system for field theory problems
Loading...
Searching...
No Matches
Classes | Functions
Stopwatch.hh File Reference
#include <chrono>
#include <iosfwd>
#include <iostream>

Go to the source code of this file.

Classes

class  Stopwatch
 The Stopwach class provides a simple interace to allow timing function calls etc... It is possible to stop the stopwatch for an indefinite amount of time without losing the current elapsed time period, allowing it to be used to calculate the actual amount of time a function spends performing a task without taking into account e.g. More...
 

Functions

std::ostream & operator<< (std::ostream &, const Stopwatch &)
 Print human-readable representation of the time elapsed.
 

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream &  lhs,
const Stopwatch rhs 
)

Print human-readable representation of the time elapsed.