Profiling .mexa64 function with `profile`
조회 수: 5 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Compiler SDK에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!