Add AICurlInterface::getNumHTTPRunning
Replaces LLTextureFetch::getNumHTTPRequests. Returns AICurlInterface::Stats::running_handles. This is work in progress that temporarily doesn't compile because LLTextureFetch::getNumHTTPRequests is still being used somewhere.
This commit is contained in:
@@ -298,6 +298,7 @@ LLAtomicU32 Stats::easy_init_errors;
|
||||
LLAtomicU32 Stats::easy_cleanup_calls;
|
||||
LLAtomicU32 Stats::multi_calls;
|
||||
LLAtomicU32 Stats::multi_errors;
|
||||
LLAtomicU32 Stats::running_handles;
|
||||
LLAtomicU32 Stats::AICurlEasyRequest_count;
|
||||
LLAtomicU32 Stats::AICurlEasyRequestStateMachine_count;
|
||||
LLAtomicU32 Stats::BufferedCurlEasyRequest_count;
|
||||
@@ -460,6 +461,12 @@ void setCAPath(std::string const& path)
|
||||
CertificateAuthority_w->path = path;
|
||||
}
|
||||
|
||||
// THREAD-SAFE
|
||||
U32 getNumHTTPRunning(void)
|
||||
{
|
||||
return Stats::running_handles;
|
||||
}
|
||||
|
||||
//static
|
||||
void Stats::print(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user