From: Eugeni Dodonov <eugeni.dodo...@intel.com> This patchset adds a number of small but useful features into intel_gpu_top tool, as asked by Chris Wilson:
- support for getopt to customize internal parameters at runtime (such as number of samplings per second). - possibility of non-interactive execution to collect GPU usage into a log file for future analysis - possibility to profile a specific command, leaving when the profiled command reaches its end of the execution - collection of initial statistics before the profile starts. - account for the time spent within syscalls to provide more appropriate logging and more precise screen updates (e.g., instead of refreshing once a second, we could potentially take way longer than that due to the system calls overhead) Eugeni Dodonov (6): intel_gpu_top: account for time spent in syscalls intel_gpu_top: suport command line parameters and variable samples per second intel_gpu_tool: initial support for non-screen output intel_gpu_top: initialize monitoring statistics at startup intel_gpu_top: support non-interactive mode intel_gpu_top: support profiling user-specified commands man/intel_gpu_top.1 | 22 ++++ tools/intel_gpu_top.c | 303 +++++++++++++++++++++++++++++++++++++++++------- 2 files changed, 280 insertions(+), 45 deletions(-) -- 1.7.6.1 _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx