Profiling .mexa64 function with `profile`
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have a medium sized code base that at the bottom has a .mexa64 connector to some C functions. As I am making optimizations to that code I want to use the Matlab profile functionality to identify bottlenecks. However profile just tells me how many times the first C function has been called and nothing else.
What I want needs to:
a) Give me a breakdown of time spent in each function (C functions included).
b) Work inside Matlab.
PS1: Yes, I know about codegen, but the functions I use in Matlab cannot be converted.
PS2: Yes, I also know I can write a C file using the MATLAB API to load the data and pass them down, but no, I don't want to write a whole new module to do the same thing as my Matlab code.
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur MATLAB Compiler SDK dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!