diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
commit | 6b846cf03c0bcbd8c276cb0af61a181e5f98eaae (patch) | |
tree | da50d054f9c761c3f6a5923f6979e93306c56d68 /TAO/orbsvcs/orbsvcs/LoadBalancing/LB_LoadMinimum.inl | |
parent | 0e555b9150d38e3b3473ba325b56db2642e6352b (diff) | |
download | ATCD-6b846cf03c0bcbd8c276cb0af61a181e5f98eaae.tar.gz |
Repo restructuring
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/LoadBalancing/LB_LoadMinimum.inl')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/LoadBalancing/LB_LoadMinimum.inl | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_LoadMinimum.inl b/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_LoadMinimum.inl deleted file mode 100644 index dc120b38783..00000000000 --- a/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_LoadMinimum.inl +++ /dev/null @@ -1,26 +0,0 @@ -// -*- C++ -*- -// -// $Id$ - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -ACE_INLINE CORBA::Float -TAO_LB_LoadMinimum::effective_load (CORBA::Float previous_load, - CORBA::Float new_load) -{ - // Apply per-balance load. (Recompute raw load) - previous_load += this->per_balance_load_; - - // Apply dampening. (Recompute new raw load) - CORBA::Float result = - this->dampening_ * previous_load + (1 - this->dampening_) * new_load; - - ACE_ASSERT (this->tolerance_ != 0); - - // Compute the effective load. - result /= this->tolerance_; - - return result; -} - -TAO_END_VERSIONED_NAMESPACE_DECL |