Skip to content

Commit

Permalink
Slua memory profiler start example.
Browse files Browse the repository at this point in the history
  • Loading branch information
zjhongxian committed Jun 1, 2023
1 parent 871dec6 commit 5306365
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Content/Lua/TestProfile.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
if slua_profile then
print"start slua profile"
slua_profile.start("127.0.0.1",8081)

local KismetSystemLibrary = import("KismetSystemLibrary")
KismetSystemLibrary.ExecuteConsoleCommand(slua.getGameInstance(), "slua.StartMemoryTrack")
end

0 comments on commit 5306365

Please sign in to comment.