[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/2] Reduce lock contention on TCG hot-path
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 0/2] Reduce lock contention on TCG hot-path |
Date: |
Sat, 2 Jul 2016 18:03:36 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 |
On 02/07/2016 09:08, Alex Bennée wrote:
> Hmm I was doing from memory but it should be the mean of the sum of the
> squares of the deviation:
>
> # calculate deviation
> deviation = 0
> for r in res:
> deviation += (r.time - avg_time)**2
>
> deviation = deviation / count
This is the population variance. "Standard deviation" and "variance"
usually refer to the sample standard deviation and sample variance,
where you divide by count-1.
For the population stdev and sample stdev you have to take the square root.
LibreOffice agrees with Emilio, giving a sample stdev of 0.2742 and a
population stdev of 0.2453
Paolo
- [Qemu-devel] [PATCH 1/2] tcg: Ensure safe tb_jmp_cache lookup out of 'tb_lock', (continued)
- [Qemu-devel] [PATCH 1/2] tcg: Ensure safe tb_jmp_cache lookup out of 'tb_lock', Alex Bennée, 2016/07/01
- Re: [Qemu-devel] [PATCH 1/2] tcg: Ensure safe tb_jmp_cache lookup out of 'tb_lock', Richard Henderson, 2016/07/01
- Re: [Qemu-devel] [PATCH 1/2] tcg: Ensure safe tb_jmp_cache lookup out of 'tb_lock', Emilio G. Cota, 2016/07/01
- Re: [Qemu-devel] [PATCH 1/2] tcg: Ensure safe tb_jmp_cache lookup out of 'tb_lock', Alex Bennée, 2016/07/02
- Re: [Qemu-devel] [PATCH 1/2] tcg: Ensure safe tb_jmp_cache lookup out of 'tb_lock', Emilio G. Cota, 2016/07/04
- Re: [Qemu-devel] [PATCH 1/2] tcg: Ensure safe tb_jmp_cache lookup out of 'tb_lock', Paolo Bonzini, 2016/07/05
Re: [Qemu-devel] [PATCH 0/2] Reduce lock contention on TCG hot-path, Emilio G. Cota, 2016/07/01