GE Lua Documentation

Press F to search!

LuaProfiler

Definition


-- @/lua/common/luaProfiler.lua:169

function LuaProfiler(...)
  local o = {}
  setmetatable(o, C)
  o:init(...)
  return o
end

Callers

@/lua/ge/extensions/core/vehicles.lua
  log("I", "", "Vehicle selector triggered")
  if profilerEnabled then p = LuaProfiler("Vehicle Selector menu (triggered by a binding)") end
  if p then p:start() end
  else
    if profilerEnabled then p = LuaProfiler("Vehicle Selector menu WITHOUT profiling the first CEF stages (because the menu was triggered programmatically, not through binding)") end
    if p then p:start() end
@/lua/ge/extensions/gameplay/drift/freeroam/cruising.lua
local isBeingDebugged = true
local profiler = LuaProfiler("Drift cruising profiler")
local gc = 0
@/lua/ge/extensions/editor/vehicleEditor/staticEditor/vePartTextView.lua

--local p = LuaProfiler("Part_Text_View")
@/lua/ge/extensions/ui/vehicleSelector/general.lua
M.p = emptyProfiler()
--M.p = LuaProfiler("vehicleSelector Profiler")
--[[
--[[
  M.p = LuaProfiler("vehicleSelector Profiler")
  ]]
  local p = M.emptyProfiler()
  --p = LuaProfiler("initializeVehicleData")
  p:start()
@/lua/ge/extensions/gameplay/drift/freeroam/driftSpots.lua
local isBeingDebugged = true
local profiler = LuaProfiler("Drift driftSpots profiler")
local gc = 0
@/lua/ge/extensions/gameplay/drift/drift.lua

local profiler = LuaProfiler("drift profiler")
local gc
@/lua/ge/extensions/ui/apps/minimap/minimap.lua
      if not p and debugSettings.useProfiler then
        p = LuaProfiler("minimap Profiler")
      end
@/lua/ge/extensions/editor/util/plotHelperUtil.lua

local p --= LuaProfiler("JBeam_Table_Visualizer")
@/lua/ge/extensions/gameplay/drift/destination.lua

local profiler = LuaProfiler("Drift destination profiler")
local isBeingDebugged
@/lua/ge/extensions/gameplay/drift/quickMessages.lua
local gc = 0
local profiler = LuaProfiler("drift quick message profiler")
local isBeingDebugged
@/lua/ge/extensions/gameplay/drift/bounds.lua
local gc = 0
local profiler = LuaProfiler("Drift bounds profiler")
local driftDebugInfo = {
@/lua/ge/extensions/gameplay/drift/scoring.lua

local profiler = LuaProfiler("drift scoring profiler")
local gc
@/lua/ge/main.lua
function requestGeluaProfile()
  geluaProfiler = LuaProfiler("update() and luaPreRender() gelua function calls")
  extensions.setProfiler(geluaProfiler)
function onPreExit()
  local p = LuaProfiler("onPreExit()")
  p:start()
function onExit()
  local p = LuaProfiler("onExit()")
  p:start()
@/lua/common/luaProfiler.lua

local p = LuaProfiler("my profiler")
@/lua/ge/extensions/ui/gridSelectorUtils/tilesModule.lua
  local p = emptyProfiler()
  -- Uncomment to enable profiling: p = LuaProfiler(config.profilerName or "Grid Selector Tiles Profiler")
@/lua/ge/extensions/editor/vehicleEditor/liveEditor/veFlexbodyDebug.lua

--local p = LuaProfiler("profiler")
local function renderPickedFlexbody(flexbody, flexbodyObj)