Android 동적 성능 프레임워크로 열 및 CPU 성능 최적화
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
이 가이드에서는 Android 동적 성능 프레임워크 (ADPF)를 사용하여 Android의 동적 열 및 CPU 관리 기능을 기반으로 게임을 최적화하는 방법을 설명합니다. 게임에 중점을 두지만, 성능이 중요한 다른 앱에도 이 기능을 사용할 수 있습니다.
ADPF는 API 집합으로, 게임 및 성능 집약적인 앱이 이 API를 사용하여 Android 기기의 전력 시스템 및 열 관련 시스템과 더 직접적으로 상호작용할 수 있습니다. 이러한 API를 사용하면 Android 시스템의 동적인 동작을 모니터링하고 기기가 과열되지 않는 지속 가능한 수준에서 게임 성능을 최적화할 수 있습니다.
모바일 SoC 및 Android에는 데스크톱 및 콘솔보다 동적인 성능 관련 동작이 더 많습니다. 이러한 동작에는 열 상태 관리, 다양한 CPU 클록, 다양한 CPU 코어 유형이 포함됩니다. 이는 SoC의 핵심 토폴로지가 점점 더 다양해짐에 따라 게임이 기기 성능에 부정적인 영향을 미치지 않고 이 동작을 활용할 수 있도록 하려고 할 때 문제가 발생합니다. ADPF는 성능을 더 예측 가능하게 만들기 위해 이러한 정보 중 일부를 제공합니다.
ADPF의 주요 기능은 다음과 같습니다.
- Thermal API: 기기의 열 상태를 모니터링하여 지속할 수 없는 상태가 되기 전에 애플리케이션이 워크로드를 사전에 조정할 수 있도록 합니다.
- CPU Performance Hint API: Android가 워크로드에 적합한 성능 설정 (예: CPU 작동 포인트 또는 코어)을 선택할 수 있도록 성능 힌트를 제공합니다.
- Game Mode API 및 Game State API: 사용자의 설정 및 게임별 구성을 기반으로 성능 또는 배터리 수명 특성의 우선순위를 지정하여 게임플레이 최적화를 사용 설정합니다.
- 고정 성능 모드: 벤치마킹 중에 기기에서 고정 성능 모드를 사용 설정하여 동적 CPU 클록에 의해 변경되지 않는 측정값을 가져옵니다.
- 전력 효율 모드: 성능 힌트 세션의 스레드가 성능보다 전력 효율을 우선하도록 안전하게 예약할 수 있음을 세션에 알립니다. (Android 15에서 사용 가능)
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-07-27(UTC)
[null,null,["최종 업데이트: 2025-07-27(UTC)"],[],[],null,["# Optimize thermal and CPU performance with the Android Dynamic Performance Framework\n\nThis guide describes how to use the Android Dynamic Performance Framework (ADPF)\nto optimize games based on the dynamic thermal and CPU management features on\nAndroid. The focus is on games, but you can also use the features for other\nperformance-intensive apps.\n\nADPF is a set of APIs that allow games and performance-intensive apps to\ninteract more directly with power and thermal systems of Android devices. With\nthese APIs, you can monitor the dynamic behavior on Android systems and optimize\ngame performance at a sustainable level that doesn't overheat devices.\n\nMobile SoCs and Android have more dynamic performance behaviors than desktops\nand consoles. These behaviors include thermal state management, varying CPU\nclocks, and varying CPU core types. This combined with the increasingly diverse\ncore topology of SoCs creates challenges when trying to ensure that your game\ncan take advantage of this behavior without negatively impacting device\nperformance. ADPF provides some of this information in order to make performance\nmore predictable.\n\nHere are the main ADPF features:\n\n- **Thermal API**: Monitor the thermal state of a device so that the application can proactively adjust workload before it becomes unsustainable.\n- **CPU Performance Hint API**: Provide performance hints that let Android choose the right performance settings (for example, CPU operating point or core) for the workload.\n- **Game Mode API \\& Game State API**: Enable game play optimization by prioritizing performance or battery life characteristics, based on user's settings and game specific configurations.\n- **Fixed Performance Mode**: Enable fixed-performance mode on a device during benchmarking to get measurements that aren't altered by dynamic CPU clocking.\n- **Power Efficiency Mode** : Tells the session that the threads in Performance Hint Session can be safely scheduled to prefer power efficiency over performance. ([Available in Android 15](/reference/android/os/PerformanceHintManager.Session#setPreferPowerEfficiency(boolean)))"]]