Commit 76ea4f1e authored by tqcq's avatar tqcq
Browse files

fix no auto dump

parent b264e63f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -169,7 +169,7 @@ CpuProfilerSwitch(int signal_number)
                int cur_profile_count = profile_count;
                std::thread([interval, cur_profile_count] {
                    std::this_thread::sleep_for(std::chrono::seconds(interval));
                    if (profile_count == cur_profile_count) {
                    if (profile_count == cur_profile_count + 1) {
                        RAW_LOG(INFO, "Trigger Auto stop CPU Profiling, duration=%ds", interval);
                        ProfilerStop();
                    }