mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-21 03:28:31 +00:00
[libFuzzer] print a bit fewer lines
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252123 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
df00d95573
commit
331a8c8a87
@ -175,7 +175,9 @@ bool Fuzzer::RunOne(const Unit &U) {
|
||||
auto UnitStopTime = system_clock::now();
|
||||
auto TimeOfUnit =
|
||||
duration_cast<seconds>(UnitStopTime - UnitStartTime).count();
|
||||
if (!(TotalNumberOfRuns & (TotalNumberOfRuns - 1)) && Options.Verbosity)
|
||||
if (!(TotalNumberOfRuns & (TotalNumberOfRuns - 1))
|
||||
&& secondsSinceProcessStartUp() >= 2
|
||||
&& Options.Verbosity)
|
||||
PrintStats("pulse ");
|
||||
if (TimeOfUnit > TimeOfLongestUnitInSeconds &&
|
||||
TimeOfUnit >= Options.ReportSlowUnits) {
|
||||
|
@ -52,7 +52,6 @@ static void AlarmHandler(int, siginfo_t *, void *) {
|
||||
|
||||
void SetTimer(int Seconds) {
|
||||
struct itimerval T {{Seconds, 0}, {Seconds, 0}};
|
||||
Printf("SetTimer %d\n", Seconds);
|
||||
int Res = setitimer(ITIMER_REAL, &T, nullptr);
|
||||
assert(Res == 0);
|
||||
struct sigaction sigact;
|
||||
|
Loading…
Reference in New Issue
Block a user