Skip to content

Commit a80ea2b

Browse files
committed
CPUUsage: adds user guidance when CPU time fails to increase
1 parent 13110e3 commit a80ea2b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/detection/cpuusage/cpuusage.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ const char* ffGetCpuUsageResult(FFCPUUsageOptions* options, FFlist* result)
5454
ffTimeSleep(options->waitTime);
5555
goto retry;
5656
}
57+
return "CPU time did not increase. Try increasing wait time.";
5758
}
5859
}
5960

0 commit comments

Comments
 (0)