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

Function Documentation

template<typename T>
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.