Skip to content

Commit 47c79e8

Browse files
committed
remove manual test
1 parent 7a47534 commit 47c79e8

File tree

6 files changed

+1
-269
lines changed

6 files changed

+1
-269
lines changed

ydb/library/actors/core/executor_pool_basic.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -507,10 +507,6 @@ namespace NActors {
507507
TPoolHarmonizerStats stats = Harmonizer->GetPoolStats(PoolId);
508508
poolState.ElapsedCpu = stats.AvgElapsedCpu;
509509
poolState.PossibleMaxLimit = stats.PotentialMaxThreadCount;
510-
poolState.SharedCpuQuota = stats.SharedCpuQuota;
511-
poolState.IsNeedy = stats.IsNeedy;
512-
poolState.IsStarved = stats.IsStarved;
513-
poolState.IsHoggish = stats.IsHoggish;
514510
} else {
515511
poolState.PossibleMaxLimit = poolState.MaxLimit;
516512
}

ydb/library/actors/core/harmonizer/harmonizer.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -497,8 +497,6 @@ THarmonizerStats THarmonizer::GetStats() const {
497497
.MinElapsedCpu = MinElapsedCpu.load(std::memory_order_relaxed),
498498
.AvgAwakeningTimeUs = WaitingInfo.AvgAwakeningTimeUs.load(std::memory_order_relaxed),
499499
.AvgWakingUpTimeUs = WaitingInfo.AvgWakingUpTimeUs.load(std::memory_order_relaxed),
500-
.Budget = CpuConsumption.Budget,
501-
.SharedFreeCpu = SharedInfo.FreeCpu,
502500
};
503501
}
504502

@@ -540,8 +538,7 @@ TString THarmonizerStats::ToString() const {
540538
<< "MinElapsedCpu: " << MinElapsedCpu << ", "
541539
<< "AvgAwakeningTimeUs: " << AvgAwakeningTimeUs << ", "
542540
<< "AvgWakingUpTimeUs: " << AvgWakingUpTimeUs << ", "
543-
<< "Budget: " << Budget << ", "
544-
<< "SharedFreeCpu: " << SharedFreeCpu << '}';
541+
<< '}';
545542
}
546543

547544
}

ydb/library/actors/core/harmonizer/harmonizer.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@ namespace NActors {
4949
float AvgAwakeningTimeUs = 0;
5050
float AvgWakingUpTimeUs = 0;
5151

52-
float Budget = 0.0;
53-
float SharedFreeCpu = 0.0;
54-
5552
TString ToString() const;
5653
};
5754

ydb/library/actors/core/manual_test/shared_threads/main.cpp

Lines changed: 0 additions & 237 deletions
This file was deleted.

ydb/library/actors/core/manual_test/shared_threads/ya.make

Lines changed: 0 additions & 11 deletions
This file was deleted.

ydb/library/actors/core/mon_stats.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,27 +42,17 @@ namespace NActors {
4242

4343
struct TExecutorPoolState {
4444
float ElapsedCpu = 0;
45-
float SharedCpuQuota = 0;
4645
float CurrentLimit = 0;
4746
float PossibleMaxLimit = 0;
4847
float MaxLimit = 0;
4948
float MinLimit = 0;
5049

51-
i8 IsNeedy = 0;
52-
i8 IsStarved = 0;
53-
i8 IsHoggish = 0;
54-
5550
void Aggregate(const TExecutorPoolState& other) {
5651
ElapsedCpu += other.ElapsedCpu;
57-
SharedCpuQuota += other.SharedCpuQuota;
5852
CurrentLimit += other.CurrentLimit;
5953
PossibleMaxLimit += other.PossibleMaxLimit;
6054
MaxLimit += other.MaxLimit;
6155
MinLimit += other.MinLimit;
62-
63-
IsNeedy += other.IsNeedy;
64-
IsStarved += other.IsStarved;
65-
IsHoggish += other.IsHoggish;
6656
}
6757
};
6858

0 commit comments

Comments
 (0)