[all-commits] [llvm/llvm-project] 2e613d: [Support] Get process statistics in ExecuteAndWait...

Serge Pavlov via All-commits all-commits at lists.llvm.org
Tue Jun 16 23:40:52 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2e613d2ded2c465bd06bd3cac30ffb4576bf72cc
      https://github.com/llvm/llvm-project/commit/2e613d2ded2c465bd06bd3cac30ffb4576bf72cc
  Author: Serge Pavlov <sepavloff at gmail.com>
  Date:   2020-06-17 (Wed, 17 Jun 2020)

  Changed paths:
    M llvm/include/llvm/Support/Program.h
    M llvm/lib/Support/Program.cpp
    M llvm/lib/Support/Unix/Program.inc
    M llvm/lib/Support/Windows/Program.inc
    M llvm/unittests/Support/ProgramTest.cpp

  Log Message:
  -----------
  [Support] Get process statistics in ExecuteAndWait and Wait

The functions sys::ExcecuteAndWait and sys::Wait now have additional
argument of type pointer to structure, which is filled with process
execution statistics upon process termination. These are total and user
execution times and peak memory consumption. By default this argument is
nullptr so existing users of these function must not change behavior.

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




More information about the All-commits mailing list