Searched refs:DebouncePolicy (Results 1 – 5 of 5) sorted by relevance
70 struct DebouncePolicy { struct84 static DebouncePolicy fixed(clock::duration); argument191 DebouncePolicy UpdateDebounce;
461 const DebouncePolicy UpdateDebounce;480 llvm::SmallVector<DebouncePolicy::clock::duration, 8>856 auto RebuildStartTime = DebouncePolicy::clock::now(); in generateDiagnostics()859 auto RebuildDuration = DebouncePolicy::clock::now() - RebuildStartTime; in generateDiagnostics()1405 DebouncePolicy::clock::duration1406 DebouncePolicy::compute(llvm::ArrayRef<clock::duration> History) const { in compute()1427 DebouncePolicy DebouncePolicy::fixed(clock::duration T) { in fixed()1428 DebouncePolicy P; in fixed()
141 DebouncePolicy UpdateDebounce = DebouncePolicy{
121 Opts.UpdateDebounce = DebouncePolicy::fixed(/*zero*/ {}); in optsForTest()
248 Opts.UpdateDebounce = DebouncePolicy::fixed(std::chrono::seconds(1)); in TEST_F()433 Opts.UpdateDebounce = DebouncePolicy::fixed(std::chrono::milliseconds(50)); in TEST_F()1011 TEST(DebouncePolicy, Compute) { in TEST() argument1013 std::vector<DebouncePolicy::clock::duration> History = { in TEST()1019 DebouncePolicy Policy; in TEST()1023 auto Compute = [&](llvm::ArrayRef<DebouncePolicy::clock::duration> History) { in TEST()