#
459a82e6 |
| 13-Sep-2024 |
JOE1994 <joseph942010@gmail.com> |
[llvm][unittests] Don't call raw_string_ostream::flush() (NFC)
raw_string_ostream::flush() is essentially a no-op (also specified in docs). Don't call it in tests that aren't meant to test 'raw_stri
[llvm][unittests] Don't call raw_string_ostream::flush() (NFC)
raw_string_ostream::flush() is essentially a no-op (also specified in docs). Don't call it in tests that aren't meant to test 'raw_string_ostream' itself.
p.s. remove a few redundant calls to raw_string_ostream::str()
show more ...
|
Revision tags: llvmorg-19.1.0-rc4, llvmorg-19.1.0-rc3, llvmorg-19.1.0-rc2, llvmorg-19.1.0-rc1, llvmorg-20-init, llvmorg-18.1.8, llvmorg-18.1.7, llvmorg-18.1.6, llvmorg-18.1.5, llvmorg-18.1.4, llvmorg-18.1.3, llvmorg-18.1.2, llvmorg-18.1.1, llvmorg-18.1.0, llvmorg-18.1.0-rc4, llvmorg-18.1.0-rc3, llvmorg-18.1.0-rc2, llvmorg-18.1.0-rc1, llvmorg-19-init, llvmorg-17.0.6, llvmorg-17.0.5, llvmorg-17.0.4, llvmorg-17.0.3, llvmorg-17.0.2, llvmorg-17.0.1, llvmorg-17.0.0, llvmorg-17.0.0-rc4, llvmorg-17.0.0-rc3, llvmorg-17.0.0-rc2, llvmorg-17.0.0-rc1, llvmorg-18-init, llvmorg-16.0.6, llvmorg-16.0.5, llvmorg-16.0.4, llvmorg-16.0.3, llvmorg-16.0.2, llvmorg-16.0.1, llvmorg-16.0.0, llvmorg-16.0.0-rc4, llvmorg-16.0.0-rc3, llvmorg-16.0.0-rc2, llvmorg-16.0.0-rc1, llvmorg-17-init, llvmorg-15.0.7 |
#
233ca84a |
| 13-Dec-2022 |
Roman Lebedev <lebedev.ri@gmail.com> |
[exegesis] Benchmark: provide optional progress meter / ETA
Now that `--opcode-index=-1` is mostly stable, and i can migrate off of my custom tooling that emulated it, there comes a bit of confusion
[exegesis] Benchmark: provide optional progress meter / ETA
Now that `--opcode-index=-1` is mostly stable, and i can migrate off of my custom tooling that emulated it, there comes a bit of confusion as to the status of the run.
It is normal for the single all-opcode run to take ~3 minutes, and it's a bit more than one can be comfortable with, without having some sort of visual indication of the progress.
Thus, i present: ``` $ ./bin/llvm-exegesis -mode=inverse_throughput --opcode-index=-1 --benchmarks-file=/dev/null --dump-object-to-disk=0 --measurements-print-progress --skip-measurements <...> XAM_Fp80: unsupported opcode: pseudo instruction XBEGIN: Unsupported opcode: isPseudo/usesCustomInserter XBEGIN_2: Unsupported opcode: isBranch/isIndirectBranch XBEGIN_4: Unsupported opcode: isBranch/isIndirectBranch XCH_F: unsupported second-form X87 instruction Processing... 1%, ETA 02:10 Processing... 2%, ETA 02:03 Processing... 3%, ETA 02:00 Processing... 4%, ETA 01:57 Processing... 5%, ETA 01:54 Processing... 6%, ETA 01:53 Processing... 7%, ETA 01:51 Processing... 8%, ETA 01:50 Processing... 9%, ETA 01:49 Processing... 10%, ETA 01:48 Processing... 11%, ETA 01:46 Processing... 12%, ETA 01:45 Processing... 13%, ETA 01:44 Processing... 14%, ETA 01:43 Processing... 15%, ETA 01:42 Processing... 16%, ETA 01:42 Processing... 17%, ETA 01:41 ```
As usual, the ETA estimation is statically-insignificant, and is a lie/does not converge at least until 50% through. It would be nice to have an actual progress indicator like in LIT, but i'm not sure we have such a luxury in C++ form in LLVM codebase already.
Reviewed By: courbet
Differential Revision: https://reviews.llvm.org/D139797
show more ...
|