- Fix quartile time estimate, it was too low, (thanks Jan Komissar).

git-svn-id: file:///svn/unbound/trunk@2557 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2011-11-28 14:22:29 +00:00
parent 7bdae2d545
commit 01f3e90871
2 changed files with 4 additions and 1 deletions

View file

@ -1,3 +1,6 @@
28 November 2011: Wouter
- Fix quartile time estimate, it was too low, (thanks Jan Komissar).
11 November 2011: Wouter
- Makefile compat with SunOS make, BSD make and GNU make.
- iana ports updated.

View file

@ -220,7 +220,7 @@ timehist_quartile(struct timehist* hist, double q)
(double)hist->buckets[i].upper.tv_usec/1000000.;
#endif
res = (lookfor - passed)*(up-low)/((double)hist->buckets[i].count);
return res;
return low+res;
}
void