-
Notifications
You must be signed in to change notification settings - Fork 9
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
Detailed Time break-down compilation mode #10
Comments
Compute totals time for each category above, and also: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Enable a timing mode when compiling that collects the time spent in each phase.
Regarding the breakdown, I was thinking in the following categories:
Regarding on how to implement it:
This should a be a configuration option during the compilation (e.g. -DTIMING in cmake), so that we can remove the timing overhead when needed. We need to implement this using architecture specific low level mechanisms when possible (e.g. STCKE instructions in Z, or MFTB in POWER) to read the time. Much faster: 1 instruction vs. 1 system call . If TIMING is enabled, reports are generated in stdout by default or in a file if TIMING_REPORT_FILE environment variable is defined with a filename.
The text was updated successfully, but these errors were encountered: