diff options
author | Diana Picus <diana.picus@linaro.org> | 2021-06-09 08:19:43 +0000 |
---|---|---|
committer | Diana Picus <diana.picus@linaro.org> | 2021-06-14 07:48:09 +0000 |
commit | 57e85622bbdb2eb18cc03df2ea457019c58f6912 (patch) | |
tree | 85bad3b4fb0a6c17001e9fae3ce9ad6fab20bf1a /llvm/lib/CodeGen/MachineOperand.cpp | |
parent | 74d45b884cfb13d8530a64ba538817bdab165c12 (diff) | |
download | llvm-57e85622bbdb2eb18cc03df2ea457019c58f6912.zip llvm-57e85622bbdb2eb18cc03df2ea457019c58f6912.tar.gz llvm-57e85622bbdb2eb18cc03df2ea457019c58f6912.tar.bz2 |
[flang] Add initial implementation for CPU_TIME
Add an implementation for CPU_TIME based on std::clock(), which should
be available on all the platforms that we support.
Also add a test that's basically just a sanity check to make sure we
return positive values and that the value returned at the start of some
amount of work is larger than the one returned after the end.
Differential Revision: https://reviews.llvm.org/D104019
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions