Skip to content

Conversation

@bashbaug
Copy link
Contributor

@bashbaug bashbaug commented Apr 3, 2022

Description of Changes

This PR adds the ability to tracks, reports, and logs some types of tool overhead, such as for adding device timing events, checking device timing events, and inserting flushes or finishes after enqueue operations. This can be used to distringuish between overhead in an application and overhead in the intercept layer itself.

Because tracking tool overhead can add overhead, the "tool overhead tracking" can optionally be disabled via a control to minimize overhead, though the control is enabled by default.

Also adds a few optimizations to reduce tool overhead, such as by caching the process ID.

Testing Done

Tested with several applications, with various combinations of HostPerformanceTiming and ChromeCallLogging enabled.

@bashbaug bashbaug changed the title Tool overhead track tool overhead Apr 3, 2022
@bashbaug bashbaug merged commit 82b3142 into intel:master Apr 5, 2022
@bashbaug bashbaug deleted the tool-overhead branch April 5, 2022 05:05
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