diff options
author | Dave Parks <davep@lindenlab.com> | 2022-05-24 18:38:03 +0000 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-05-24 18:38:03 +0000 |
commit | 7fb07008fc1ab2b7a6d8da3d7079cf0fafda9928 (patch) | |
tree | 311d04d5aca4a4ab6d0660a6bd5af2fb7bd5e45b /indra/llcommon/llapr.cpp | |
parent | 3365a39080744af0566adb7b6efd8e53fc6b3339 (diff) | |
parent | 9f9465f5bd2160f0245805e32644ce37f8c6cca6 (diff) |
Merged in SL-17219 (pull request #992)
SL-17219
Diffstat (limited to 'indra/llcommon/llapr.cpp')
-rw-r--r-- | indra/llcommon/llapr.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llcommon/llapr.cpp b/indra/llcommon/llapr.cpp index db94765871..b537102510 100644 --- a/indra/llcommon/llapr.cpp +++ b/indra/llcommon/llapr.cpp @@ -526,6 +526,7 @@ S32 LLAPRFile::seek(apr_file_t* file_handle, apr_seek_where_t where, S32 offset) //static S32 LLAPRFile::readEx(const std::string& filename, void *buf, S32 offset, S32 nbytes, LLVolatileAPRPool* pool) { + LL_PROFILE_ZONE_SCOPED; //***************************************** LLAPRFilePoolScope scope(pool); apr_file_t* file_handle = open(filename, scope.getVolatileAPRPool(), APR_READ|APR_BINARY); @@ -570,6 +571,7 @@ S32 LLAPRFile::readEx(const std::string& filename, void *buf, S32 offset, S32 nb //static S32 LLAPRFile::writeEx(const std::string& filename, void *buf, S32 offset, S32 nbytes, LLVolatileAPRPool* pool) { + LL_PROFILE_ZONE_SCOPED; apr_int32_t flags = APR_CREATE|APR_WRITE|APR_BINARY; if (offset < 0) { |