How do I install Profiler Plugin? - 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: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How do I install Profiler Plugin? (
/showthread.php?tid=479914)
How do I install Profiler Plugin? -
Dokins - 07.12.2013
Could someone kindly explain? It's just a little confusing and unclear.
Re: How do I install Profiler Plugin? -
batonsa - 07.12.2013
Doesn't
this thread tell you enough?
All it doesn't explain is putting the .dll or .so file into your server root/plugins and adding a 'profiler' to your plugins line in server config.
Re: How do I install Profiler Plugin? -
Dokins - 07.12.2013
It says 'adds a few server.cfg files.' I'm not sure if it does it or I have to?
Re: How do I install Profiler Plugin? -
batonsa - 07.12.2013
It gives you an option to add them, depending on what you want to profile and how, nothing is mandatory, but then again, what's the point of adding the plugin at all.
profile_gamemode 1 (if you want to profile the performance of a currently running gamemode)
profile_filterscripts fsname (the name of the filterscripts, separated by a space if many, you want to profile, not compulsory)
profile_format xml/html/txt (depending on which output format you prefer, i'd go for html though, as it is by default)
I wouldn't add the call_graph variables since you could generate the graph yourself directly through the html file output by using a little PHP, but they also work the same way in the end.
Re: How do I install Profiler Plugin? -
Dokins - 07.12.2013
Thank you. If I decide not to add any whats the default output?
Re: How do I install Profiler Plugin? -
batonsa - 07.12.2013
If you don't add any it will be output to .html by default.
You are welcome