[all-commits] [llvm/llvm-project] 1cfca5: [llvm][Timer] Don't print timers in TimerGroup whe...

Arthur Eubanks via All-commits all-commits at lists.llvm.org
Wed Mar 12 16:20:35 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1cfca53b9f2eadbf864b85995ec7f819d7f29b5e
      https://github.com/llvm/llvm-project/commit/1cfca53b9f2eadbf864b85995ec7f819d7f29b5e
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2025-03-12 (Wed, 12 Mar 2025)

  Changed paths:
    M llvm/lib/Support/Timer.cpp
    M llvm/unittests/Support/TimerTest.cpp

  Log Message:
  -----------
  [llvm][Timer] Don't print timers in TimerGroup when all Timers are removed (#131026)

Only print them on TimerGroup destruction (or eagerly when
TimerGroup::printAll() is called).

We should be able to destroy all Timers in a TimerGroup while delaying
printing the stored TimeRecords.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list