[all-commits] [llvm/llvm-project] fed995: [clangd] Trace queue state for each TUScheduler ac...

Sam McCall via All-commits all-commits at lists.llvm.org
Fri Feb 5 08:57:15 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fed995ef9020ef2845ff78e9f4aa97e6d512c586
      https://github.com/llvm/llvm-project/commit/fed995ef9020ef2845ff78e9f4aa97e6d512c586
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2021-02-05 (Fri, 05 Feb 2021)

  Changed paths:
    M clang-tools-extra/clangd/TUScheduler.cpp

  Log Message:
  -----------
  [clangd] Trace queue state for each TUScheduler action.

The new trace event includes what's already in the queue when adding.
For tracers that follow contexts, the trace event will span the time that the action
spends in the queue.
For tracers that follow threads, the trace will be a tiny span on the enqueuing thread.

Differential Revision: https://reviews.llvm.org/D96027




More information about the All-commits mailing list