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#2843 trace cpus: add cpu and timestamp trace markers #2849

Merged
merged 2 commits into from
Feb 24, 2018

Conversation

derekbruening
Copy link
Contributor

Adds a timestamp marker and a cpu marker to the trace buffer header for
each thread's buffer unit output. The timestamp was already in the raw
offline trace format, but now it is in the final trace for both offline and
online as a new marker type. The cpu is completely new and specifies which
core that thread executed on at the granularity of the buffer unit.

Refactors the initial and per-output buffer headers to fix warts in the
tracer: now the initial buffer's timestamp is from output time rather than
thread init time; the initial header is more cleanly skipped for virt2phys;
header uses are more normalized and easier to understand.

Updates the basic_counts tool to separate these new scheduling marks from
kernel transfer and other markers. Updates the corresponding
documentation.

A forthcoming change will update the cache simulator to schedule threads
based on executed cores rather than a thread round-robin scheme.

Issue: #2843

Adds a timestamp marker and a cpu marker to the trace buffer header for
each thread's buffer unit output.  The timestamp was already in the raw
offline trace format, but now it is in the final trace for both offline and
online as a new marker type.  The cpu is completely new and specifies which
core that thread executed on at the granularity of the buffer unit.

Refactors the initial and per-output buffer headers to fix warts in the
tracer: now the initial buffer's timestamp is from output time rather than
thread init time; the initial header is more cleanly skipped for virt2phys;
header uses are more normalized and easier to understand.

Updates the basic_counts tool to separate these new scheduling marks from
kernel transfer and other markers.  Updates the corresponding
documentation.

A forthcoming change will update the cache simulator to schedule threads
based on executed cores rather than a thread round-robin scheme.

Issue: #2843
@derekbruening derekbruening merged commit aedf9be into master Feb 24, 2018
@derekbruening derekbruening deleted the i2843-trace-cpu branch February 24, 2018 01:29
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.

1 participant