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

i#6844: Add times_of_interest to drmemtrace scheduler #6845

Merged
merged 10 commits into from
Jun 20, 2024

Conversation

derekbruening
Copy link
Contributor

Adds a new feature times_of_interest to the drmemtrace scheduler. This allows specifying regions of interest via timestamps, which cut across all inputs in a workload, providing for a consistent starting point across all threads.

The feature requires a cpu schedule file which is used to build a mapping from timestamps to instruction ordinals. The mapping is not perfect due to collapsed consecutive entries and coarse-grained timestamps so interpolation is used in between known points.

Adds a unit test.

Adds a new analyzer command-line option -skip_to_timestamp which sets a single time-of-interest in the scheduler. Adds a test using the checked-in threadsig x86_64 trace.

Fixes #6844

Adds a new feature times_of_interest to the drmemtrace scheduler.
This allows specifying regions of interest via timestamps, which cut
across all inputs in a workload, providing for a consistent starting
point across all threads.

The feature requires a cpu schedule file which is used to build a
mapping from timestamps to instruction ordinals.  The mapping is not
perfect due to collapsed consecutive entries and coarse-grained
timestamps so interpolation is used in between known points.

Adds a unit test.

Adds a new analyzer command-line option -skip_to_timestamp which sets
a single time-of-interest in the scheduler.  Adds a test using the
checked-in threadsig x86_64 trace.

Fixes #6844
@derekbruening
Copy link
Contributor Author

a64-sve failure is the known invariants test "missing exit" no one has figured out: #6733

clients/drcachesim/analyzer_multi.cpp Show resolved Hide resolved
clients/drcachesim/common/options.cpp Outdated Show resolved Hide resolved
clients/drcachesim/common/options.cpp Outdated Show resolved Hide resolved
clients/drcachesim/common/options.cpp Outdated Show resolved Hide resolved
clients/drcachesim/common/options.cpp Outdated Show resolved Hide resolved
clients/drcachesim/scheduler/scheduler.cpp Outdated Show resolved Hide resolved
clients/drcachesim/scheduler/scheduler.cpp Outdated Show resolved Hide resolved
@derekbruening derekbruening merged commit e11cb67 into master Jun 20, 2024
17 checks passed
@derekbruening derekbruening deleted the i6844-timestamp-roi branch June 20, 2024 19:36
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.

Add timestamps-of-interest drmemtrace scheduler feature
2 participants