summaryrefslogtreecommitdiffstats
path: root/library/cpp/actors/core/cpu_manager.h
diff options
context:
space:
mode:
authorDaniil Cherednik <[email protected]>2023-05-05 11:09:01 +0300
committerDaniil Cherednik <[email protected]>2023-05-05 11:09:01 +0300
commitb5a989b16cafa8a3b3bc076f1097a0eda6f48c06 (patch)
tree4da744117a5aab37758921fa43b95a3068e5aec1 /library/cpp/actors/core/cpu_manager.h
parentfc1cffcfa7f0497a1f97b384a24bcbf23362f3be (diff)
Ydb stable 23-1-2623.1.26
x-stable-origin-commit: 22184a7e157553d447f17a2dffc4ea2d32dfd74d
Diffstat (limited to 'library/cpp/actors/core/cpu_manager.h')
-rw-r--r--library/cpp/actors/core/cpu_manager.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/library/cpp/actors/core/cpu_manager.h b/library/cpp/actors/core/cpu_manager.h
index e2e3861a3b0..c3a7588639c 100644
--- a/library/cpp/actors/core/cpu_manager.h
+++ b/library/cpp/actors/core/cpu_manager.h
@@ -40,6 +40,13 @@ namespace NActors {
}
}
+ THarmonizerStats GetHarmonizerStats() const {
+ if (Harmonizer) {
+ return Harmonizer->GetStats();
+ }
+ return {};
+ }
+
private:
IExecutorPool* CreateExecutorPool(ui32 poolId);
};