mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05: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:
parent
7bdae2d545
commit
01f3e90871
2 changed files with 4 additions and 1 deletions
|
|
@ -1,3 +1,6 @@
|
||||||
|
28 November 2011: Wouter
|
||||||
|
- Fix quartile time estimate, it was too low, (thanks Jan Komissar).
|
||||||
|
|
||||||
11 November 2011: Wouter
|
11 November 2011: Wouter
|
||||||
- Makefile compat with SunOS make, BSD make and GNU make.
|
- Makefile compat with SunOS make, BSD make and GNU make.
|
||||||
- iana ports updated.
|
- iana ports updated.
|
||||||
|
|
|
||||||
|
|
@ -220,7 +220,7 @@ timehist_quartile(struct timehist* hist, double q)
|
||||||
(double)hist->buckets[i].upper.tv_usec/1000000.;
|
(double)hist->buckets[i].upper.tv_usec/1000000.;
|
||||||
#endif
|
#endif
|
||||||
res = (lookfor - passed)*(up-low)/((double)hist->buckets[i].count);
|
res = (lookfor - passed)*(up-low)/((double)hist->buckets[i].count);
|
||||||
return res;
|
return low+res;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue