pRC
multi-purpose Tensor Train library for C++
Loading...
Searching...
No Matches
Public Member Functions | List of all members
pRC::Stopwatch Class Reference

#include <stopwatch.hpp>

Public Member Functions

 ~Stopwatch ()=default
 
 Stopwatch (Stopwatch const &)=delete
 
 Stopwatch (Stopwatch &&)=default
 
Stopwatchoperator= (Stopwatch const &)=delete
 
Stopwatchoperator= (Stopwatch &&) &=default
 
 Stopwatch (Integer const flops=zero(), Integer const bytes=zero())
 
auto start ()
 
auto stop ()
 
auto reset ()
 
auto addFlops (Integer const flops)
 
auto addBytes (Integer const bytes)
 
auto seconds () const
 
auto cycles () const
 
auto cyclesPerSecond () const
 
auto flops () const
 
auto flopsPerSecond () const
 
auto flopsPerCycle () const
 
auto bytes () const
 
auto bytesPerSecond () const
 
auto bytesPerCycle () const
 

Constructor & Destructor Documentation

◆ ~Stopwatch()

pRC::Stopwatch::~Stopwatch ( )
default

◆ Stopwatch() [1/3]

pRC::Stopwatch::Stopwatch ( Stopwatch const )
delete

◆ Stopwatch() [2/3]

pRC::Stopwatch::Stopwatch ( Stopwatch &&  )
default

◆ Stopwatch() [3/3]

pRC::Stopwatch::Stopwatch ( Integer const  flops = zero(),
Integer const  bytes = zero() 
)
inline

Member Function Documentation

◆ addBytes()

auto pRC::Stopwatch::addBytes ( Integer const  bytes)
inline

◆ addFlops()

auto pRC::Stopwatch::addFlops ( Integer const  flops)
inline

◆ bytes()

auto pRC::Stopwatch::bytes ( ) const
inline

◆ bytesPerCycle()

auto pRC::Stopwatch::bytesPerCycle ( ) const
inline

◆ bytesPerSecond()

auto pRC::Stopwatch::bytesPerSecond ( ) const
inline

◆ cycles()

auto pRC::Stopwatch::cycles ( ) const
inline

◆ cyclesPerSecond()

auto pRC::Stopwatch::cyclesPerSecond ( ) const
inline

◆ flops()

auto pRC::Stopwatch::flops ( ) const
inline

◆ flopsPerCycle()

auto pRC::Stopwatch::flopsPerCycle ( ) const
inline

◆ flopsPerSecond()

auto pRC::Stopwatch::flopsPerSecond ( ) const
inline

◆ operator=() [1/2]

Stopwatch & pRC::Stopwatch::operator= ( Stopwatch &&  ) &
default

◆ operator=() [2/2]

Stopwatch & pRC::Stopwatch::operator= ( Stopwatch const )
delete

◆ reset()

auto pRC::Stopwatch::reset ( )
inline

◆ seconds()

auto pRC::Stopwatch::seconds ( ) const
inline

◆ start()

auto pRC::Stopwatch::start ( )
inline

◆ stop()

auto pRC::Stopwatch::stop ( )
inline

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