Skip to content

Add option to measure last iterration#62

Open
eszpotanski wants to merge 2 commits into
eembc:mainfrom
antmicro:measure-iterration-cycles
Open

Add option to measure last iterration#62
eszpotanski wants to merge 2 commits into
eembc:mainfrom
antmicro:measure-iterration-cycles

Conversation

@eszpotanski
Copy link
Copy Markdown

This PR introduces:

  • MEASURE_ONE_ITER - if defined, only time of the last iteration will be displayed,
  • CORE_MIN_RUNTIME - defines minimum length of the runtime (in seconds).

Internal-tag: [#55140]
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
Internal-Tag: [#55140]
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
@joseph-yiu
Copy link
Copy Markdown
Contributor

Hi @eszpotanski , @mkurc-ant ,
Could you let us know the purpose of this feature?
Usually we don't want to measure the duration of a single iteration because it can be misleading. For example, during that iteration there could be an interrupt that could increase the execution time. As a result, we specifies the minimum execution time as 10 seconds so that the impact of those infrequent events can averaged out.
regards,
Joseph

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants