mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-13 13:27:43 +02:00
- 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:
@@ -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.
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user