small reorg, some improvements, readme updates
- fix hemtt config to copy example
- add measurements table in Readme
- ENTITY COUNTS
- re add side tags
- use `side group _x` for units and players
- fix players_connected and add headless_clients
- get `_allUserInfos = allUsers apply {getUserInfo _x} select {count _x > 0};` from main loop and use in entity counts and player performance
This commit is contained in:
@@ -24,19 +24,22 @@ GVARMAIN(captureLoop) = [
|
||||
]
|
||||
];
|
||||
|
||||
|
||||
// getUserInfo for all users
|
||||
private _allUserInfos = allUsers apply {getUserInfo _x} select {count _x > 0};
|
||||
// entity_count returns an array of hashMap
|
||||
{
|
||||
GVARMAIN(extensionName) callExtension [
|
||||
":INFLUX:WRITE:",
|
||||
[_x]
|
||||
];
|
||||
} forEach (call EFUNC(capture,entity_count));
|
||||
} forEach ([_allUserInfos] call EFUNC(capture,entity_count));
|
||||
{
|
||||
GVARMAIN(extensionName) callExtension [
|
||||
":INFLUX:WRITE:",
|
||||
[_x]
|
||||
];
|
||||
} forEach (call EFUNC(capture,player_performance));
|
||||
} forEach ([_allUserInfos] call EFUNC(capture,player_performance));
|
||||
|
||||
["DEBUG", format[
|
||||
"Processed primary data loop in %1 ms",
|
||||
|
||||
Reference in New Issue
Block a user