11#ifndef EBGEOMETRY_SIMPLETIMER_HPP
12#define EBGEOMETRY_SIMPLETIMER_HPP
28 using Clock = std::chrono::steady_clock;
81#include "EBGeometry_SimpleTimerImplem.hpp"
Simple timer class used for local performance profiling.
Definition EBGeometry_SimpleTimer.hpp:23
TimePoint m_start
Start time point.
Definition EBGeometry_SimpleTimer.hpp:71
void start() noexcept
Start timing.
TimePoint m_stop
Stop time point.
Definition EBGeometry_SimpleTimer.hpp:76
Clock::time_point TimePoint
Time point alias.
Definition EBGeometry_SimpleTimer.hpp:33
double seconds() const noexcept
Compute the elapsed time between the last start() and stop() calls.
std::chrono::steady_clock Clock
Clock alias.
Definition EBGeometry_SimpleTimer.hpp:28
void stop() noexcept
Stop timing.
SimpleTimer() noexcept
Constructor. Immediately calls start() followed by stop() to initialise both time points to the curre...
Three-dimensional vector class with arithmetic operators.
Definition EBGeometry_Vec.hpp:225
Namespace containing all of EBGeometry's functionality.
Definition EBGeometry_AnalyticDistanceFunctions.hpp:31