aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/google/benchmark/src/benchmark.cc
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2024-07-22 12:30:43 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2024-07-22 12:42:10 +0300
commit224f37eff4b81b528e56c22e48ab3ecf6500a593 (patch)
treeeb45faabd3a008b08639c516caed25d5e974e3cc /contrib/restricted/google/benchmark/src/benchmark.cc
parent942d2ca60b764e6bd7dff28a3ef04fefacbd576d (diff)
downloadydb-224f37eff4b81b528e56c22e48ab3ecf6500a593.tar.gz
Intermediate changes
Diffstat (limited to 'contrib/restricted/google/benchmark/src/benchmark.cc')
-rw-r--r--contrib/restricted/google/benchmark/src/benchmark.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/restricted/google/benchmark/src/benchmark.cc b/contrib/restricted/google/benchmark/src/benchmark.cc
index 337bb3faa7..374c5141c9 100644
--- a/contrib/restricted/google/benchmark/src/benchmark.cc
+++ b/contrib/restricted/google/benchmark/src/benchmark.cc
@@ -656,6 +656,10 @@ void RegisterMemoryManager(MemoryManager* manager) {
internal::memory_manager = manager;
}
+void RegisterProfilerManager(ProfilerManager* manager) {
+ internal::profiler_manager = manager;
+}
+
void AddCustomContext(const std::string& key, const std::string& value) {
if (internal::global_context == nullptr) {
internal::global_context = new std::map<std::string, std::string>();