Function pal_statistics::getRegistry(const std::string&)

Function Documentation

std::shared_ptr<StatisticsRegistry> pal_statistics::getRegistry(const std::string &registry_key)

Returns the registry stored in the global registry map using the key. If it doesn’t exist, it returns a nullptr.

Parameters:

registry_key – - The key to check the registry in the global registry map

Returns:

std::shared_ptr<StatisticsRegistry> - The registry stored in the global registry map using the key

Returns:

nullptr - If the registry doesn’t exist