Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Timer.hpp File Reference

High-resolution timer with plf_nanotimer (non-macOS) or std::chrono (macOS) backend. More...

#include "shambase/aliases_float.hpp"
#include "shambase/string.hpp"
#include <plf_nanotimer.h>
Include dependency graph for Timer.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  shambase::Timer
 Class Timer measures the time elapsed since the timer was started. More...

Namespaces

namespace  shambase
 namespace for basic c++ utilities

Detailed Description

High-resolution timer with plf_nanotimer (non-macOS) or std::chrono (macOS) backend.

Author
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

Definition in file Timer.hpp.

Macro Definition Documentation

◆ USE_PLF_TIMER

#define USE_PLF_TIMER

Definition at line 23 of file Timer.hpp.