주요 콘텐츠

이 페이지는 기계 번역을 사용하여 번역되었습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.

코드 스택 사용량 프로파일링

코드 섹션의 스택 사용량 프로파일을 확인하고 분석

스택 사용량 프로파일링을 사용하여 다음을 수행할 수 있습니다.

  • 타깃 하드웨어에 대한 스택 메모리 요구 사항을 결정합니다.

  • 컴파일러 최적화와 데이터 입력이 스택 사용량에 미치는 영향을 관찰합니다.

생성된 코드에 대한 스택 사용량 메트릭을 생성하기 위해 SIL(Software-in-the-Loop) 또는 PIL(Processor-in-the-Loop) 시뮬레이션을 구성할 수 있습니다. 코드 프로파일 분석기, 코드 스택 프로파일링 리포트 또는 시뮬레이션 데이터 인스펙터를 사용하여 스택 사용량 메트릭을 분석합니다.

객체

모두 확장

coder.profile.ExecutionStackSetAggregate stack usage profiling results from multiple SIL, PIL, or external mode simulations (R2023b 이후)
coder.profile.test.TestHookDefine custom callback functions for coder.profile.test.runTests (R2025a 이후)

함수

모두 확장

addAggregate stack usage profiles (R2023b 이후)
addDetailsAdd text items to Code Profile Analyzer display or code profiling report (R2025a 이후)
getExtract specific stack usage profile from aggregate of profiles (R2023b 이후)
removeRemove stack usage profile from aggregate of profiles (R2023b 이후)
coder.profile.test.runTestsAutomate execution-time or stack usage analysis of code generated from Simulink models or MATLAB functions (R2024a 이후)

도움말 항목