Results 1 to 2 of 2

Thread: How to measure the total execut?on t?me most efficiently

  1. #1
    Junior Member
    Join Date
    Feb 2012
    Posts
    2

    How to measure the total execut?on t?me most efficiently

    Hi everyone
    I am experimenting with opencl via c language on a GPU of NVIDIA . And I wonder ?f there is a way to measure the total execution time of opencl part of the code. When I use timer class of c, the time is given in unit of seconds. If I use GPU timer I need to calculate all actions(at least I know that much). If you show me a better way, I believe I can improve myself easily. Thanks for your help

  2. #2

    Re: How to measure the total execut?on t?me most efficiently

    If you are using OSX, call gettimeofday() and you can get microseconds.

Similar Threads

  1. OpenGL ES2.0 Time measure
    By ari.kaspari in forum OpenGL ES 2X - for programmable 3D graphics pipelines
    Replies: 0
    Last Post: 04-17-2012, 07:53 AM
  2. Efficiently access off-screen generated frames
    By daniel in forum OpenGL ES 1.X - fixed function hardware
    Replies: 0
    Last Post: 01-19-2009, 10:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •