Android 기기는 시스템 부하에 따라 동적으로 클록을 변경할 수 있습니다. 이 동작은 사용 중에 전력을 절약하는 데는 유용하지만, 안정적인 성능 데이터를 얻기는 어려울 수 있습니다. 회귀 방지를 위해 코드 프래그먼트를 실행할 수 있는 속도를 확인하려고 하거나 최적화가 반복 가능한 경우에는 고정 클록 속도로 테스트되지 않으면 결과를 신뢰할 수 없습니다. 고정 클록을 사용하면 하나의 요소가 되는 CPU 주파수를 변경하지 않고 성능에 관해 정확한 A/B 테스트를 실행할 수 있습니다.
고정 성능 모드는 상한과 하한이 있는 CPU 클록과 GPU 클록을 설정합니다.
이 모드는 코어 선택과 같은 다른 동적 성능 동작을 중지하지 않습니다.
고정 성능 모드는 기기의 발열 상태를 지속 가능한 상태로 유지하지 않기 때문에 이러한 모드를 실행 중인 기기도 과열될 가능성이 있습니다. 이런 이유로 벤치마크 실행에는 다음이 권장됩니다.
기기가 발열 상태로 지속 가능한 상태로 돌아올 때까지 기다린 후 시작합니다.
실행할 수도 있습니다
테스트하는 동안 기기의 열 상태를 모니터링하여 벤치마크 코드와 열 이벤트 간의 영향을 구분합니다.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-26(UTC)"],[],[],null,["# Fixed Performance Mode\n\n**Released**: Android 11 (API level 30)\n\nAndroid devices can change clocking dynamically based on the system load. This\nbehavior is good for power savings during use, but can make it difficult to get\nreliable performance data. If you are trying to determine how fast a code\nfragment can run for regression prevention, or if an optimization is repeatable,\nyour results won't be reliable if they aren't tested at fixed clock speeds. With\nfixed clocks, you can do accurate A/B testing of performance without changes in\nthe CPU frequency being a factor.\n\nFixed-performance mode sets CPU and GPU clocks with an upper and lower bound.\nThis mode does not disable other dynamic performance behaviors, such as core\nselection.\n\nYou can enable fixed-performance mode with the following adb command: \n\n adb shell cmd power set-fixed-performance-mode-enabled [true|false]\n\nA device that is running in fixed-performance mode can still overheat because\nthe mode doesn't put the device into a thermally-sustainable state. Because of\nthis, we recommend the following for benchmark runs:\n\n- Wait for the device to return to a thermally-sustainable state before starting the run.\n- Monitor the thermal state of the device during testing to differentiate the impact between the benchmark code and thermal events."]]