API
Catch::Timer Class Reference

#include <catch.hpp>

Collaboration diagram for Catch::Timer:
Collaboration graph

Public Member Functions

void start ()
 
auto getElapsedNanoseconds () const -> uint64_t
 
auto getElapsedMicroseconds () const -> uint64_t
 
auto getElapsedMilliseconds () const -> unsigned int
 
auto getElapsedSeconds () const -> double
 

Private Attributes

uint64_t m_nanoseconds = 0
 

Detailed Description

Definition at line 2894 of file catch.hpp.

Member Function Documentation

◆ getElapsedMicroseconds()

auto Catch::Timer::getElapsedMicroseconds ( ) const -> uint64_t

◆ getElapsedMilliseconds()

auto Catch::Timer::getElapsedMilliseconds ( ) const -> unsigned int

◆ getElapsedNanoseconds()

auto Catch::Timer::getElapsedNanoseconds ( ) const -> uint64_t

◆ getElapsedSeconds()

auto Catch::Timer::getElapsedSeconds ( ) const -> double

◆ start()

void Catch::Timer::start ( )

Member Data Documentation

◆ m_nanoseconds

uint64_t Catch::Timer::m_nanoseconds = 0
private

Definition at line 2895 of file catch.hpp.


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