GithubHelp home page GithubHelp logo

aimoonchen / opengl-timestamp-profiler Goto Github PK

View Code? Open in Web Editor NEW

This project forked from funto/opengl-timestamp-profiler

0.0 1.0 0.0 4.72 MB

A simple CPU/GPU OpenGL-based profiler

License: Do What The F*ck You Want To Public License

Python 0.03% C 91.88% C++ 7.79% GLSL 0.31%

opengl-timestamp-profiler's Introduction

Introduction
------------

This code is an implementation of the graphical real-time profiler using OpenGL timer queries and precise OS-specific CPU time queries that is described in the chapter "A real-time profiling tool" from the book "OpenGL Insights".
This code is provided in the hope that it will be useful.
Patches and improvements are welcome. The code is also available on the following Git repository:
	https://github.com/Funto/OpenGL-Timestamp-Profiler

Licensing
---------
This code is covered by the WTFPL (Do What The Fuck You Want To Public License).

Hardware and driver requirements
--------------------------------
You need at least an OpenGL 3.2 compatible GPU and driver with the ARB_timer_query extension to run the demo.

Dependencies
------------
This code depends on the libraries GLEW and GLFW, which are part of the source tree.

Compiling
---------

* Windows:
To compile with Visual C++ 2010, use the provided project files.
To compile with the MinGW compiler, use the command:
	make -f Makefile.mingw
	
* MacOS X:
To compile on MacOS X, use the command:
	make -f Makefile.osx

* Linux:
To compile on Linux, you need to install SCons, GLEW and GLFW, and type:
	scons

Authors
-------

Lionel Fuentes: main contributor
Robert Menzel: patches for MacOS X support

opengl-timestamp-profiler's People

Contributors

funto avatar

Watchers

simon chen 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.