Announcement

Collapse
No announcement yet.

Tool for measuring FPS in games

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #41
    Thanks, but that info is only useful for the dlsym not found issue, which was already fixed. You haven't mentioned what application you're measuring, and I'd need to reproduce it somehow.

    Comment


    • #42
      More info:
      I am using extreme tux racer (but it is to be used with other programs)

      I added some prints to you code to see If I understood what it was doing...
      Code:
      $ LD_PRELOAD=./libframetime.so etracer 
      	Called: *dlsym()
      		:if (!realdlsym) = true
      
      	Called: initdlsym()
      		: initdlsym() if(!realdlsym) = true (this is the first one were it calls realdlsym = dlvsym(libdl, "dlsym", "GLIBC_2.0");
      
      	Called: *dlsym()
                      Does not enter any of the If's 
      	Called: *dlsym()
                      Does not enter any of the If's 
      
              Repeats more 32 times
      
      	Called: init()
      	enters in the ifndef NO_EGL
      
      
      Extreme TuxRacer SVN Development --  http://www.extremetuxracer.com 
      (c) 2007 The ETRacer team
      (c) 2004-2005 The PPRacer team
      (c) 1999-2001 Jasmin F. Patry<[email protected]>
      ETRacer comes with ABSOLUTELY NO WARRANTY. This is free software,
      and you are welcome to redistribute it under certain conditions.
      See http://www.gnu.org/copyleft/gpl.html for details.
      
      	Called: *dlsym()
                      Does not enter any of the If's 
      	Called: *dlsym()
                      Does not enter any of the If's 
      	Called: *dlsym()
                      Does not enter any of the If's 
      	Called: *dlsym()
                      Does not enter any of the If's 
      	Called: *dlsym()
                      Does not enter any of the If's 
      	Called: *dlsym()
                      Does not enter any of the If's 
      %%% etracer warning: Attempt to bind to Texture unloaded texture: `b-herring_run_icon'
      
      	Called: deinit()

      Comment


      • #43
        I could reproduce with the SDL2 test programs, git now supports SDL2 for both glx and egl.

        Comment


        • #44
          Thank you for all your help.
          It worked now it created and writes to the log file.

          By the way is there a way to print the actual FPS instead of the frame time?

          Comment


          • #45
            Never mind I already got it to work.

            Thank you for all your help.

            Comment

            Working...
            X