SA-MP Forums Archive
[Plugin] Performance profiler - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Plugin Development (https://sampforum.blast.hk/forumdisplay.php?fid=18)
+--- Thread: [Plugin] Performance profiler (/showthread.php?tid=271129)

Pages: 1 2 3 4 5 6 7 8 9 10 11


Re: Performance profiler - 0x5A656578 - 06.10.2011

Uploaded new version, seems working correctly, bugs/tests are welcome


Re : Performance profiler - TheBest6 - 06.10.2011

Thanks


Re: Performance profiler - MisterTickle - 07.10.2011

Quote:
Originally Posted by 0x5A656578
Посмотреть сообщение
Uploaded new version, seems working correctly, bugs/tests are welcome
Failed (/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by plugins/profiler.so))

What do I do? If I need to compile this on the server how do I do so? I'm having trouble with both the Crash Detect plugin and this one.


Re: Performance profiler - Slice - 07.10.2011

My server still crashes on gmx roughly 1 out of 5 times.


Re: Performance profiler - Kar - 15.10.2011

Link down, and can anyone like upload a profiler.cfg for me? I don't really get it


Re: Performance profiler - BloodyEric - 15.10.2011

Even though I have -d3 flag in the pawn.cfg I dont get the correct function names. :/

The script definitly compiles with debug symbols.. any ideas?

Or can it only see public functions?


Re: Performance profiler - Babul - 15.10.2011

@Kar: hm, the download-link works for me - and heres my actual profiler.cfg:
Код:
# Example of profiler configuration file.
#
# Here you specify which scripts you want to profile, one per line.
# This file should be put in the plugins/ directory.
#
# Note: Do not use \ as path separator, use / on both Windows and Linux.
# Also, file names are case-sensitive.

gamemodes/The_Paranoia_Complex_20110914.amx
filterscripts/BFW2.amx
filterscripts/droll.amx
filterscripts/Objects11.amx
@BloodyEric: yes, it recognizes all publics - if you want to profile stocks, turn them into publics >-<


Re: Performance profiler - 0x5A656578 - 15.10.2011

Actually it should work with non-publics too when debug symbols are provided, if it doesn't this is certainly a bug. Also for some scripts it may fail in finding a correspinding .amx, in this case it can't load debug info so it prints just addresses.


Re: Performance profiler - BloodyEric - 15.10.2011

I am compiling with -d3 flag.

What exactly do you mean with the second part? The .amx works as all the public have a result, just the stocks don't have a their real name. Is there any way to solve this or to find out which adress means which function? The script contains 100+ stocks...


Re: Performance profiler - Kar - 15.10.2011

nvm, got the file


Re: Performance profiler - [L3th4l] - 27.10.2011

The output file doesn't seem to be created when GMXing the server. It gives me the message saying it loaded the gamemode fine. I'm using Linux.


Re: Performance profiler - 0x5A656578 - 27.10.2011

Are you sure server has write permissions? Also did it say 'Writing profile to blahblah.amx.prof' on gmx in server log?


Re: Performance profiler - [L3th4l] - 27.10.2011

Aha, somehow the write permission wasn't checked in the folder. Thanks for the reminder & great plugin!


Re: Performance profiler - lpiob - 18.11.2011

Profile is not generated if the gamemode is running for more than 30 minutes. Is there any calls/time limit?


Re: Performance profiler - LeNy - 18.11.2011

Awesome plugin. Thank you


Re: Performance profiler - Dragony92 - 24.11.2011

Don't work for me on Linux, but it works fine on Windows,...
Do anyone know how to make it to work on Linux? It don't want to create .prof file...


AW: Performance profiler - nescha - 08.12.2011

i cant find the download for the plugin. :S anybody can help me (i only find the sourcecode-package)?


Re: Performance profiler - leong124 - 08.12.2011

I think he is updating it, so he removes the downloads. You may have to wait for some hours.


Re: Performance profiler - Dragony92 - 10.12.2011

Quote:
Originally Posted by Dragony92
Посмотреть сообщение
Don't work for me on Linux, but it works fine on Windows,...
Do anyone know how to make it to work on Linux? It don't want to create .prof file...
BUMP
And also Zeex can you give us download link, i want to redownload it...
Thank you.


Re: Performance profiler - Kar - 24.12.2011

profiler 2.4.0 is crashing on linux (volt, CentOS 5).. after a few minutes ;\