Bitcoin Core  0.20.99
P2P Digital Currency
Public Types | List of all members
benchmark::best_clock Struct Reference

#include <bench.h>

Public Types

using hi_res_clock = std::chrono::high_resolution_clock
using steady_clock = std::chrono::steady_clock
using type = std::conditional< hi_res_clock::is_steady, hi_res_clock, steady_clock >::type

Detailed Description

Definition at line 42 of file bench.h.

Member Typedef Documentation

◆ hi_res_clock

using benchmark::best_clock::hi_res_clock = std::chrono::high_resolution_clock

Definition at line 43 of file bench.h.

◆ steady_clock

using benchmark::best_clock::steady_clock = std::chrono::steady_clock

Definition at line 44 of file bench.h.

◆ type

using benchmark::best_clock::type = std::conditional<hi_res_clock::is_steady, hi_res_clock, steady_clock>::type

Definition at line 45 of file bench.h.

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