1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

[XRay][tools] Fixup definition for stat division.

Copy-pasta error.

Follow-up to D29320.

llvm-svn: 301376
This commit is contained in:
Dean Michael Berris 2017-04-26 01:35:23 +00:00
parent 570a6fd537
commit 3479e4855d

View File

@ -223,9 +223,9 @@ inline GraphRenderer::TimeStat operator*(const GraphRenderer::TimeStat &A,
/// Hadamard Division of TimeStats
inline GraphRenderer::TimeStat operator/(const GraphRenderer::TimeStat &A,
const GraphRenderer::TimeStat &B) {
return {A.Count * B.Count, A.Min * B.Min, A.Median * B.Median,
A.Pct90 * B.Pct90, A.Pct99 * B.Pct99, A.Max * B.Max,
A.Sum * B.Sum};
return {A.Count / B.Count, A.Min / B.Min, A.Median / B.Median,
A.Pct90 / B.Pct90, A.Pct99 / B.Pct99, A.Max / B.Max,
A.Sum / B.Sum};
}
} // namespace xray
} // namespace llvm