benchmark: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("serv...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| ofp |Game name=
| ofp


|1.00|Game version=
|1.00


|gr1= System |GROUP1=
|gr1= System


| Returns the value of "3D Performance" in OFP Preferences (flashpoint.cfg). This can be used to estimate the computer performance to adapt CPU and GPU demanding settings like view distance dynamically in missions. |DESCRIPTION=
| Returns the value of "3D Performance" in OFP Preferences (flashpoint.cfg). This can be used to estimate the computer performance to adapt CPU and GPU demanding settings like view distance dynamically in missions.


| [[Number]] <nowiki>=</nowiki> '''benchmark''' |SYNTAX=
| [[Number]] <nowiki>=</nowiki> '''benchmark'''


| [[Number]] |RETURNVALUE=
| [[Number]]
   
   
|x1= <pre>? (benchmark>2000) : setViewDistance 2000</pre> |EXAMPLE1=
|x1= <pre>? (benchmark>2000) : setViewDistance 2000</pre>


| [[viewDistance]], [[setDetailMapBlendPars]], [[setTerrainGrid]], [[getObjectViewDistance]], [[setObjectViewDistance]] |SEEALSO=
| [[viewDistance]], [[setDetailMapBlendPars]], [[setTerrainGrid]], [[getObjectViewDistance]], [[setObjectViewDistance]]


}}
}}

Revision as of 00:03, 18 January 2021

Hover & click on the images for description

Description

Description:
Returns the value of "3D Performance" in OFP Preferences (flashpoint.cfg). This can be used to estimate the computer performance to adapt CPU and GPU demanding settings like view distance dynamically in missions.
Groups:
System

Syntax

Syntax:
Number = benchmark
Return Value:
Number

Examples

Example 1:
? (benchmark>2000) : setViewDistance 2000

Additional Information

See also:
viewDistancesetDetailMapBlendParssetTerrainGridgetObjectViewDistancesetObjectViewDistance

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Posted on 14 March 2014
Killzone_Kid
The command is obsolete, it was used in OFP to measure PC performance. In A3 it returns 2000.

Bottom Section