summaryrefslogtreecommitdiff
path: root/indra/test/test.cpp
diff options
context:
space:
mode:
authorJonathan "Geenz" Goodman <geenz@lindenlab.com>2025-11-04 07:58:01 -0500
committerGitHub <noreply@github.com>2025-11-04 07:58:01 -0500
commit92c08effbc68233f2b1025215ad5422497d43c68 (patch)
tree35cf80b6f631d707410ca4f413ced113551af10e /indra/test/test.cpp
parent02f8d44c9c9cf7c1996d509c527a13f143b120c0 (diff)
parentaf600606e67ea90e634827a6356caabc2ef37ccc (diff)
Merge pull request #4915 from RyeMutt/rye/linux64-2
Linux64 Part 2
Diffstat (limited to 'indra/test/test.cpp')
-rw-r--r--indra/test/test.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/test/test.cpp b/indra/test/test.cpp
index 172b6e3542..bf685ef20f 100644
--- a/indra/test/test.cpp
+++ b/indra/test/test.cpp
@@ -108,7 +108,7 @@ public:
void replay(std::ostream& out)
{
mFile.close();
- std::ifstream inf(mTempFile.getName().c_str());
+ llifstream inf(mTempFile.getName().c_str());
std::string line;
while (std::getline(inf, line))
{
@@ -505,6 +505,11 @@ static LLTrace::ThreadRecorder* sMasterThreadRecorder = NULL;
int main(int argc, char **argv)
{
+ // Call Tracy first thing to have it allocate memory
+ // https://github.com/wolfpld/tracy/issues/196
+ LL_PROFILER_FRAME_END;
+ LL_PROFILER_SET_THREAD_NAME("App");
+
ll_init_apr();
apr_getopt_t* os = NULL;
if(APR_SUCCESS != apr_getopt_init(&os, gAPRPoolp, argc, argv))