getBenchmarkIterations
GET_BENCHMARK_ITERATIONS0x4750FC27570311ECThe GTA V native GET_BENCHMARK_ITERATIONS of the MISC namespace, as LS:MP client scripts call it: the global function getBenchmarkIterations, in JavaScript and in Lua.
getBenchmarkIterations(): numbergetBenchmarkIterations(): integerUsage
JavaScript
const result = getBenchmarkIterations();Lua
local result = getBenchmarkIterations()Parameters
None.
Returns
int JavaScript number, Lua integerNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Returns value of the '-benchmarkIterations' command line option.
Reference
- Namespace
- Misc MISC
- In the game
int GET_BENCHMARK_ITERATIONS()- Hash
0x4750FC27570311EC- Formerly
_GET_BENCHMARK_ITERATIONS_FROM_COMMAND_LINE