summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Hello/Hello.cpp
diff options
context:
space:
mode:
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2018-11-28 16:24:51 +0000
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2018-11-28 16:24:51 +0000
commit2a68a27010661c364635516cfbb9db4522a571e1 (patch)
tree4bff3ab46fb1c11a651aadbd1e402f2500a3194a /llvm/lib/Transforms/Hello/Hello.cpp
parenta051b7ee05aa45796a8fb2c50d17338921a14f38 (diff)
downloadbcm5719-llvm-2a68a27010661c364635516cfbb9db4522a571e1.tar.gz
bcm5719-llvm-2a68a27010661c364635516cfbb9db4522a571e1.zip
[llvm-mca] Return the total number of cycles from method Pipeline::run().
If a user only cares about the overall latency, then the best/quickest way is to change method Pipeline::run() so that it returns the total number of cycles to the caller. When the simulation pipeline is run, the number of cycles (or an error) is returned from method Pipeline::run(). The advantage is that no hardware event listener is needed for computing that latency. So, the whole process should be faster (and simpler - at least for that particular use case). llvm-svn: 347767
Diffstat (limited to 'llvm/lib/Transforms/Hello/Hello.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud