| 127 | } |
| 128 | |
| 129 | bool TestRepository::tryGetLatencyTest(const std::string& testName, LatencyTestInfo& testInfo) const |
| 130 | { |
| 131 | auto it = m_latencyTestInfosByName.find(boost::algorithm::to_lower_copy(testName)); |
| 132 | if (it == m_latencyTestInfosByName.end()) |
| 133 | return false; |
| 134 | |
| 135 | testInfo = it->second; |
| 136 | return true; |
| 137 | } |
| 138 | |
| 139 | } // namespace PerfTests |
| 140 | } // namespace Disruptor |