Author: Naught
Author Website: https://github.com/dylanplecki/ArmaScripts/tree/master/Arma%202/FPS%20Monitor

Requirements: Community Base addons A3

Version: 1.0.2.1

Short description: This script can monitor and report the FPS of all machines in a mission - server, headless clients, clients, and even your own!

Date: 2014-01-07 21:08


Comments: (0)
Rating:



 

FPS Monitoring Script

by
Naught


Description:
This script can monitor and report the FPS of all machines in a mission - server, headless clients, clients, and even your own! It will silently hint to you (on a specified interval) your FPS, the server's FPS, all of the headless clients' average FPS, and all of the players' average FPS. Now you can know how well other players are running the mission, if the server is gasping for CPU cycles, whether you should optimize a script or not, or if the headless client is running fast enough to handle your huge AI load. And it's as easy as locally loading a running a function! This function can even be loaded from a debug console and run, as it requires no dependencies other and CBA be loaded.

Here's an outline of what the silent hint will look like:
Local FPS: minFPS - avgFPS
Server FPS: minFPS - avgFPS / count
Headless FPS: avgMinFPS - avgAvgFPS / count
Client FPS: avgMinFPS - avgAvgFPS / count


Installation / Usage:
Syntax:
call FPSMON_fnc_monitor; // Turns off script  
delayInt call FPSMON_fnc_monitor; // Turns on/off script with delay  
[delayInt] call FPSMON_fnc_monitor; // Turns on/off script with delay 


Known issues:
https://github.com/dylanplecki/ArmaScripts/issues


Notes:
The dependency on CBA is due to the CBA_fnc_globalExecute function being required for the ability to load the function on one machine yet execute it on all - If you want to make a fork of this script using the BI_fnc_mp function to remove the CBA dependency, be my guest, and post it up here.


Changelog:
v1.0.2.1


Forum topic:
- unitedoperations.net forums
- BI forums



Arma 2 usage:
- Community Base addons

Arma 3 usage:
- Community Base addons A3




Enable javascript to be able to download from Armaholic please!



Tags: Fps,   Monitor