Пример #1
0
 private static void UpdateBudgetsAtMaxDelay()
 {
     if (!ThrottlingPerfCounterWrapper.PerfCountersInitialized)
     {
         return;
     }
     ThrottlingPerfCounterWrapper.SetNumberAndPercentCounters(ThrottlingPerfCounterWrapper.budgetsAtMaximumDelay, ThrottlingPerfCounterWrapper.userThrottlingPerfCounters.NumberOfUsersAtMaximumDelay, ThrottlingPerfCounterWrapper.userThrottlingPerfCounters.PercentageUsersAtMaximumDelay);
 }
Пример #2
0
 private static void UpdateBudgetsMicroDelayed()
 {
     if (!ThrottlingPerfCounterWrapper.PerfCountersInitialized)
     {
         return;
     }
     ThrottlingPerfCounterWrapper.SetNumberAndPercentCounters(ThrottlingPerfCounterWrapper.budgetsMicroDelayed, ThrottlingPerfCounterWrapper.userThrottlingPerfCounters.NumberOfUsersMicroDelayed, ThrottlingPerfCounterWrapper.userThrottlingPerfCounters.PercentageUsersMicroDelayed);
 }