Skip to content

Commit

Permalink
Add comment with tracy exports.
Browse files Browse the repository at this point in the history
  • Loading branch information
Neloreck committed Jan 17, 2025
1 parent a123873 commit b665d3e
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/xrScriptEngine/ScriptEngineScript.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,4 +208,22 @@ SCRIPT_EXPORT(CScriptEngine, (),
GEnv.ScriptEngine->m_profiler->saveReport();
})
];

/**
* Exports injected from tracy profiler:
*
* https://github.com/wolfpld/tracy/blob/da60684b9f61b34afa5aa243a7838d6e79096783/manual/tracy.tex#L1932
* https://github.com/wolfpld/tracy/blob/da60684b9f61b34afa5aa243a7838d6e79096783/public/tracy/TracyLua.hpp#L18
*
* global tracy {
* function ZoneBegin;
* function ZoneBeginN;
* function ZoneBeginS;
* function ZoneBeginNS;
* function ZoneEnd;
* function ZoneText;
* function ZoneName;
* function Message;
* }
*/
});

0 comments on commit b665d3e

Please sign in to comment.