Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR introduces the Trace Generator Tool along with improvements in the documentation at traces/stf_trace_archive/README.md and traces/docker_stf_trace_gen/README.md. The main goal of this tool is to create STF trace and it's metadata file for workload using docker.
The trace generator tool comes with three different modes
START_TRACE
andSTOP_TRACE
macros embedded in the workloadinsn_count
) → traces a fixed number of instructions after skipping somepc_count
) → traces after a specific program counter (PC) is reachedOther options included in the tool are:
--isa ISA
. Instruction set architecture (e.g.,rv64imafdc
).--dump
. Create a trace file dump.--pk
. Run Spike with pk (proxy kernel).This PR files follows this structure:
Quickstart
Macro mode (SPIKE only)
Trace using
START_TRACE
/STOP_TRACE
markers inside the workload:Instruction Count mode
Skip 1000 instructions, then trace 5000 instructions:
Program Counter mode (QEMU only)
Start tracing after PC
0x80000000
is hit 5 times, trace 2000 instructions:Next Steps:
utils/docker_orchestrator.py
with all docker related function created on PR Initial Flow Script for riscv-perf-model #275