Template Function pal_statistics::customRegister(StatisticsRegistry&, const std::string&, const T *, RegistrationsRAII *, bool)

Function Documentation

template<typename T, typename = std::enable_if_t<std::is_convertible_v<T, double>>>
inline IdType pal_statistics::customRegister(StatisticsRegistry &registry, const std::string &name, const T *variable, RegistrationsRAII *bookkeeping = NULL, bool enabled = true)

Default implementation that accepts anything variable that can be casted to a double.