15 #ifndef LLVM_SUPPORT_CACHE_PRUNING_H
16 #define LLVM_SUPPORT_CACHE_PRUNING_H
42 Expiration = ExpireAfter;
52 PercentageOfAvailableSpace =
std::min(100u, Percentage);
65 unsigned PercentageOfAvailableSpace = 0;
CachePruning(StringRef Path)
Prepare to prune Path.
Interval Class - An Interval is a set of nodes defined such that every node in the interval has all o...
CachePruning & setEntryExpiration(std::chrono::seconds ExpireAfter)
Define the expiration for a file.
Maximum length of the test input libFuzzer tries to guess a good value based on the corpus and reports it always prefer smaller inputs during the corpus shuffle When libFuzzer itself reports a bug this exit code will be used If indicates the maximal total time in seconds to run the fuzzer minimizes the provided crash input Use with etc Experimental Use value profile to guide fuzzing Number of simultaneous worker processes to run the jobs If zero
Maximum length of the test input libFuzzer tries to guess a good value based on the corpus and reports it always prefer smaller inputs during the corpus shuffle When libFuzzer itself reports a bug this exit code will be used If indicates the maximal total time in seconds to run the fuzzer minimizes the provided crash input Use with etc Experimental Use value profile to guide fuzzing Number of simultaneous worker processes to run the jobs If min(jobs, NumberOfCpuCores()/2)\" is used.") FUZZER_FLAG_INT(reload
CachePruning & setMaxSize(unsigned Percentage)
Define the maximum size for the cache directory, in terms of percentage of the available space on the...
bool prune()
Peform pruning using the supplied options, returns true if pruning occured, i.e.
CachePruning & setPruningInterval(std::chrono::seconds PruningInterval)
Define the pruning interval.
StringRef - Represent a constant reference to a string, i.e.
Handle pruning a directory provided a path and some options to control what to prune.