[PATCH] D78901: [Support] Get process statistics in ExecuteAndWait and Wait
Serge Pavlov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 27 00:29:28 PDT 2020
sepavloff created this revision.
sepavloff added reviewers: zturner, aprantl, rnk.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D78901
Files:
llvm/include/llvm/Support/Program.h
llvm/lib/Support/Program.cpp
llvm/lib/Support/Unix/Program.inc
llvm/lib/Support/Windows/Program.inc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78901.260227.patch
Type: text/x-patch
Size: 7044 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200427/d4914e4d/attachment.bin>
More information about the llvm-commits
mailing list