Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[difftest] add "success" field in perf.json #767

Merged
merged 4 commits into from
Sep 6, 2024
Merged

Conversation

FanShupei
Copy link
Contributor

@FanShupei FanShupei commented Sep 5, 2024

It indicates "online dpi" finishes normally , rather than terminated due to timeout.

Now a simulation finishing normally will generate perf.json as follows:

{
    "total_cycles": 32444,
    "success": true
}

Updata:

Unsuccessful simulation will now panic in final block. However, it could be suppressed by setting environment variable "T1_SUPPRESS_PANIC_IN_FINAL=1".

@Lucas-Wye Lucas-Wye force-pushed the add-success-field branch 3 times, most recently from e879ff1 to e1fc028 Compare September 6, 2024 12:38
FanShupei and others added 4 commits September 6, 2024 12:39
It indicates "online dpi" finishes normally , rather than terminated due to timeout.
can be suppressed by setting 'T1_SUPPRESS_PANIC_IN_FINAL=1'
@sequencer sequencer merged commit 1c096d1 into master Sep 6, 2024
159 checks passed
@sequencer sequencer deleted the add-success-field branch September 6, 2024 14:13
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