PODIO v00-16-03
An Event-Data-Model Toolkit for High Energy Physics Experiments
Loading...
Searching...
No Matches
BenchmarkUtil.h File Reference
#include <chrono>
#include <functional>
#include <utility>

Go to the source code of this file.

Namespaces

namespace  podio
 
namespace  podio::benchmark
 

Typedefs

using podio::benchmark::ClockT = std::chrono::high_resolution_clock
 

Functions

template<class Obj , typename MemberFunc , typename... Args>
std::pair< std::invoke_result_t< MemberFunc, Obj, Args... >, ClockT::duration > podio::benchmark::run_member_timed (Obj &obj, MemberFunc func, Args &&... args)
 
template<class Obj , typename MemberFunc , typename... Args>
ClockT::duration podio::benchmark::run_void_member_timed (Obj &obj, MemberFunc func, Args &&... args)