GithubHelp home page GithubHelp logo

gep's Introduction

Graphics Event Profiler

Graphics Event Profiler(gep) is mainly for gpu performance tuning, which includes two parts: kernel patches and helper scripts.

Sample

Please browse the sample to check whether the tool meets your requirement.

  1. Open sample.zip through chrome://tracing.
  2. Navigate through keyboard and mouse
  • w/s: Zoom in/out
  • a/d: Pan left/right

Kernel Patches

Please apply the kernel patches at kernel-patches folder

Prerequisites for scripts

  1. Python 3
  • On Ubuntu, run this command
sudo apt install python3
  1. Python pandas library
  • On Ubuntu, run this command
sudo pip3 install pandas

Quick Start

  1. capture the ftrace on the target system.
  • enable ftrace through enable-trace.sh
  • run test case for a while
  • copy /sys/kernel/debug/tracing/trace to your local folder
  1. parse the captured ftrace and generate trace.zip.
  • gep.py ftrace
  1. open trace.zip through chrome://tracing.

Note

gep.py output explanation:

  1. Engine Utilitzation
  • Total batch buffer execution time vs total elapsed time.
  1. BB Timing
  • Batch buffer timing summary for each engine and context.

gep's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.