이 페이지에서

발그라인드 콜그라인드

모든 프로젝트에 대해 전역으로 또는 프로젝트의 실행 설정 에서 각 프로젝트에 대해 개별적으로 Valgrind 환경설정을 설정합니다.

Valgrind에 대한 전역 환경설정을 설정하려면 환경설정 > Analyzer > Valgrind 을 선택합니다. Callgrind Profiling Options 에서 Callgrind 환경설정을 설정합니다.

분석기 환경 설정의 Valgrind 탭에 있는 Callgrind 프로파일링 옵션

KCachegrind executable 필드에 실행할 KCachegrind 실행 파일의 경로를 입력합니다.

Extra Callgrind arguments 에서 실행 파일 실행을 위한 추가 인수를 지정합니다.

Result view: Minimum event costVisualization: Minimum event cost 필드에서 프로파일러가 표시하고 시각화하는 결과의 양을 제한하여 프로파일러 성능을 향상시킵니다.

도구 설명에 이벤트에 대한 추가 정보를 표시하려면 Show additional information for events in tooltips 을 선택합니다.

시스템 호출 시간에 대한 정보를 수집하려면 Collect system call time 을 선택합니다. 실행된 이벤트 유형 Ge 의 글로벌 버스 이벤트 수를 수집하려면 Collect global bus events 을 선택합니다.

전체 캐시 시뮬레이션 활성화

기본적으로 명령어 읽기 액세스(Ir)만 계산됩니다. 캐시를 완전히 시뮬레이션하려면 Enable cache simulation 을 선택합니다. 그러면 다음과 같은 추가 이벤트 카운터가 활성화됩니다:

  • 명령어 읽기에 대한 캐시 미스(I1mr/I2mr)
  • 데이터 읽기 액세스(Dr) 및 관련 캐시 미스(D1mr/D2mr)
  • 데이터 쓰기 액세스(Dw) 및 관련 캐시 미스(D1mw/D2mw)

분기 예측 시뮬레이션 활성화

다음 추가 이벤트 카운터를 활성화하려면 Enable branch prediction simulation 을 선택합니다:

  • 실행된 조건부 브랜치 수 및 관련 예측 미스(Bc/Bcm)
  • 실행된 간접 점프 및 점프 주소 예측기의 관련 미스(Bi/Bim)

CPU 사용량 분석, 멤체크로 메모리 누수 감지, 뷰 분리, 외부 애플리케이션에서 Valgrind 도구 실행, 프로젝트에 대한 Valgrind 설정 지정Valgrind 멤체크를참조하세요 .

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.