We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
`+ (void)startSingleChunkMallocTracer { if ([MTHAllocations shared].isLoggingOn) return;
[[MTHAllocations shared] startSingleChunkMallocDetector:[MTHawkeyeUserDefaults shared].chunkMallocThresholdInBytes callback:^(size_t bytes, vm_address_t *_Nonnull stack_frames, size_t frames_count) { MTHLogInfo(@"chunk malloc:%.2fmb stack: ", bytes / 1024 / 1024.f); }]; MTHLogInfo(@"allocations single chunk malloc start");
}`
if ([MTHAllocations shared].isLoggingOn) /// 这块判断有问题,开启了log, 就不能开启大块内存监控
The text was updated successfully, but these errors were encountered:
No branches or pull requests
`+ (void)startSingleChunkMallocTracer {
if ([MTHAllocations shared].isLoggingOn)
return;
}`
if ([MTHAllocations shared].isLoggingOn) /// 这块判断有问题,开启了log, 就不能开启大块内存监控
The text was updated successfully, but these errors were encountered: