calculate the Coding delay
1 次查看(过去 30 天)
显示 更早的评论
how do I calculate the Coding delay in matlab? ... for exemple I want to code un image with RLE ... how can I find the time which took for this code?
0 个评论
采纳的回答
更多回答(1 个)
Walter Roberson
2012-5-27
tic() and toc() are the best you can do. But all they tell you is how long that code took to execute, on that image, on that run, on that system, with whatever-else was going on (e.g., virus scanning, defragging).
tic() and toc() are useless in figuring out how "efficient" your code is, or what the best and worst times are for encoding images with your code. If you have been asked for some kind of theoretical number for the "coding delay" then you will not be able to get that information from MATLAB.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Denoising and Compression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!