GE Lua Documentation

Press F to search!

onBananaBenchReady

Definition


-- @/lua/ge/extensions/core/hardwareinfo.lua:206

local function onBananaBenchReady(outFilename)
  -- this is called once the banchmark is done
  log('D', 'hardwareinfo.onBananaBenchReady', 'onBananaBenchReady: ' .. tostring(outFilename))
  if not FS:fileExists(outFilename) then
    guihooks.trigger('BananaBenchReady', nil)
    return nil
  end
  local data = jsonReadFile(outFilename)
  guihooks.trigger('BananaBenchReady', data)
end

Callers