| 235 | |
| 236 | template <class T> |
| 237 | void BenchMarkByNameKeyLess(const char *factoryName, const char *displayName=NULL, const NameValuePairs ¶ms = g_nullNameValuePairs) |
| 238 | { |
| 239 | CRYPTOPP_UNUSED(params); |
| 240 | std::string name = factoryName; |
| 241 | if (displayName) |
| 242 | name = displayName; |
| 243 | |
| 244 | member_ptr<T> obj(ObjectFactoryRegistry<T>::Registry().CreateObject(factoryName)); |
| 245 | BenchMark(name.c_str(), *obj, g_allocatedTime); |
| 246 | } |
| 247 | |
| 248 | void BenchmarkAll(double t, double hertz) |
| 249 | { |
nothing calls this directly
no test coverage detected