>>>>> On Wed, 25 Oct 2017 08:14:50 -0700 (PDT), vithurson subasharan <vith...@gmail.com> said:
| "The mcycle CSR holds a count of the number of cycles the hart has executed
| since some time in the arbitary past" ?
| I am using blocking caches in my implementation.
| Should mcycle be incremented while pipeline is being blocked by the
| caches?
Yes.
Krste
| --
| You received this message because you are subscribed to the Google Groups
| "RISC-V HW Dev" group.
| To unsubscribe from this group and stop receiving emails from it, send an email
and what about when the CPU clock is stopped, i.e. when
in a sleep mode?
guy
On Wed, Oct 25, 2017 at 8:14 AM, vithurson subasharan
<vith...@gmail.com> wrote:
> "The mcycle CSR holds a count of the number of cycles the hart has executed
> since some time in the arbitary past" ?
> I am using blocking caches in my implementation.
> Should mcycle be incremented while pipeline is being blocked by the caches?
>
> --
> You received this message because you are subscribed to the Google Groups
> "RISC-V HW Dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to hw-dev+unsubscribe@groups.riscv.org.
> To post to this group, send email to hw-...@groups.riscv.org.
> Visit this group at
> https://groups.google.com/a/groups.riscv.org/group/hw-dev/.
> To view this discussion on the web visit
> https://groups.google.com/a/groups.riscv.org/d/msgid/hw-dev/9324bc51-a1f3-4cfb-b69b-75e8e2d82a38%40groups.riscv.org.
--
You received this message because you are subscribed to the Google Groups "RISC-V HW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hw-dev+unsubscribe@groups.riscv.org.
To post to this group, send email to hw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/hw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/hw-dev/CALo5CZwfG793CQjq59JBn8sprV%2Bibkxai90_btp_p%2BJ_t2wR6w%40mail.gmail.com.
Should mcycle be incremented while pipeline is being blocked by the caches?
To unsubscribe from this group and stop receiving emails from it, send an email to hw-dev+un...@groups.riscv.org.
To post to this group, send email to hw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/hw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/hw-dev/CAPQXEto3vkAh0RK9-qpWEec2JxHDwJr9GQBX5uT6_MBuDG7fxQ%40mail.gmail.com.
|| email to hw-dev+unsubscribe@groups.riscv.org.
|| To post to this group, send email to hw-...@groups.riscv.org.
|| Visit this group at
|| https://groups.google.com/a/groups.riscv.org/group/hw-dev/.
|| To view this discussion on the web visit
|| https://groups.google.com/a/groups.riscv.org/d/msgid/hw-dev/
| 9324bc51-a1f3-4cfb-b69b-75e8e2d82a38%40groups.riscv.org.
| --
| You received this message because you are subscribed to the Google
| Groups "RISC-V HW Dev" group.
| To unsubscribe from this group and stop receiving emails from it, send
| an email to hw-dev+unsubscribe@groups.riscv.org.
| To post to this group, send email to hw-...@groups.riscv.org.
| Visit this group at https://groups.google.com/a/groups.riscv.org/group/
| hw-dev/.
| To view this discussion on the web visit https://groups.google.com/a/
| groups.riscv.org/d/msgid/hw-dev/CALo5CZwfG793CQjq59JBn8sprV%
| 2Bibkxai90_btp_p%2BJ_t2wR6w%40mail.gmail.com.
| --
| You received this message because you are subscribed to the Google Groups
| "RISC-V HW Dev" group.
| To unsubscribe from this group and stop receiving emails from it, send an
| email to hw-dev+unsubscribe@groups.riscv.org.
| To post to this group, send email to hw-...@groups.riscv.org.
| Visit this group at https://groups.google.com/a/groups.riscv.org/group/
| hw-dev/.
| To view this discussion on the web visit https://groups.google.com/a/
| groups.riscv.org/d/msgid/hw-dev/
| CAPQXEto3vkAh0RK9-qpWEec2JxHDwJr9GQBX5uT6_MBuDG7fxQ%40mail.gmail.com.
| --
| You received this message because you are subscribed to the Google Groups
| "RISC-V HW Dev" group.
| To unsubscribe from this group and stop receiving emails from it, send an email
| To post to this group, send email to hw-...@groups.riscv.org.
| Visit this group at https://groups.google.com/a/groups.riscv.org/group/hw-dev/.
| To view this discussion on the web visit https://groups.google.com/a/
| groups.riscv.org/d/msgid/hw-dev/
| DCCB6468-F685-413B-A46C-D191C5627E9A%40eecs.berkeley.edu.
>>>>> On Wed, 25 Oct 2017 08:19:45 -0700, Guy Lemieux <glem...@vectorblox.com> said:
| and what about when the CPU clock is stopped, i.e. when
| in a sleep mode?
Good question.
Given that sleep modes are not part of the ISA specification, and the
type and degrees of sleep is also going to vary by implementation, I
think the answer must be implementation defined.
At least the mcycle value should be only monotonically increasing
(i.e., cannot forget mcycle value on sleep).
Krste
| guy
| On Wed, Oct 25, 2017 at 8:14 AM, vithurson subasharan
| <vith...@gmail.com> wrote:
|| "The mcycle CSR holds a count of the number of cycles the hart has executed
|| since some time in the arbitary past" ?
|| I am using blocking caches in my implementation.
|| Should mcycle be incremented while pipeline is being blocked by the caches?
||
|| --
|| You received this message because you are subscribed to the Google Groups
|| "RISC-V HW Dev" group.
|| To unsubscribe from this group and stop receiving emails from it, send an
|| email to hw-dev+unsubscribe@groups.riscv.org.
|| To post to this group, send email to hw-...@groups.riscv.org.
|| Visit this group at
|| https://groups.google.com/a/groups.riscv.org/group/hw-dev/.
|| To view this discussion on the web visit
|| https://groups.google.com/a/groups.riscv.org/d/msgid/hw-dev/9324bc51-a1f3-4cfb-b69b-75e8e2d82a38%40groups.riscv.org.
| --
| You received this message because you are subscribed to the Google Groups "RISC-V HW Dev" group.
| To unsubscribe from this group and stop receiving emails from it, send an email to hw-dev+unsubscribe@groups.riscv.org.
| To post to this group, send email to hw-...@groups.riscv.org.
| Visit this group at https://groups.google.com/a/groups.riscv.org/group/hw-dev/.
| To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/hw-dev/CALo5CZwfG793CQjq59JBn8sprV%2Bibkxai90_btp_p%2BJ_t2wR6w%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "RISC-V HW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hw-dev+unsubscribe@groups.riscv.org.
To post to this group, send email to hw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/hw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/hw-dev/23024.54404.546182.773158%40KAMacBookAir2012.local.
--
You received this message because you are subscribed to the Google Groups "RISC-V HW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hw-dev+unsubscribe@groups.riscv.org.
To post to this group, send email to hw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/hw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/hw-dev/40d2c313-0375-405c-b566-14371d8caacd%40groups.riscv.org.
--
You received this message because you are subscribed to the Google Groups "RISC-V HW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hw-dev+un...@groups.riscv.org.
To post to this group, send email to hw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/hw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/hw-dev/59F264F2.80403%40gmail.com.
Context switching and migration generally tend to make a mess of performance measurements anyway.