ARCore のパフォーマンス オーバーレイ
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
ARCore は、次のようなアプリのパフォーマンス統計情報をオーバーレイ パネルに表示できます。
CPU とメモリの使用状況。システム リソースの概要をリアルタイムで提供します。

パフォーマンス オーバーレイを有効にする手順は次のとおりです。
アプリで AR エクスペリエンスを開いて、アクティブな ARCore セッションが存在するようにします
できます。以下を有効にするブロードキャストを受信するには、アプリを AR モードにする必要があります
オーバーレイします。AR カメラのプレビュー画像がデバイスに表示されます
表示されます。
次の Activity Manager ブロードキャスト コマンドを使用して、
パフォーマンスのオーバーレイを
向上させることができます
# Enables ARCore's performance overlay and saves a setting to your app's
# Android Shared Preferences, so that the overlay remains enabled in
# subsequent ARCore sessions.
# Your app must have an actively running ARCore session to receive the broadcast.
adb shell am broadcast -a com.google.ar.core.ENABLE_PERFORMANCE_OVERLAY
ARCore パッケージを付与するための Settings メニューにリダイレクトされる場合があります。
許可する必要があります。この手順は 1 回だけ実行する必要があります。検索
Google Play Services for AR] をクリックし、権限の切り替えを Allowed に設定します。
確認してからアプリに戻る必要があります
ARCore を付与せずにパフォーマンス オーバーレイを有効にしている場合
オーバーレイの描画を許可すると、設定メニューが
アプリが新しい ARCore セッションを開始したとき。この場合は
ARCore 権限を付与するか、パフォーマンス オーバーレイを無効にする必要があります。
パフォーマンス オーバーレイを無効にする手順は次のとおりです。
アプリで AR エクスペリエンスを開いて、アクティブな ARCore セッションが存在するようにします
できます。無効にするブロードキャストを受信するには、アプリを AR モードにする必要があります
オーバーレイします。AR カメラのプレビュー画像がデバイスに表示されます
表示されます。
次の Activity Manager ブロードキャスト コマンドを使用して、
パフォーマンスのオーバーレイを
向上させることができます
# Disables ARCore's performance overlay and saves a setting to your app's
# Android Shared Preferences, so that the overlay remains disabled in
# subsequent ARCore sessions.
# Your app must have an actively running ARCore session to receive the broadcast.
adb shell am broadcast -a com.google.ar.core.DISABLE_PERFORMANCE_OVERLAY
閉じるボタンをタップして、パフォーマンス オーバーレイを無効にすることもできます。
オーバーレイ上の
とクリア
アプリの Android の共有環境設定。その方法の一つとして、アプリの
分析できます
CPU 使用率の値の解釈
Process CPU Usage フィールドには、アプリケーションが実際に待機した CPU 時間
アプリケーション プロセスが、デバイスの合計使用量に占める割合
使用可能 CPU 時間です。この値には、アプリケーション ワークロード、ARCore ワークロード、
およびアプリが使用するその他のライブラリ。たとえばこのフィールドには
25%(アプリケーション プロセスが単一 CPU コアを完全に飽和した場合)
クアッドコアデバイスで動作します
パフォーマンス オーバーレイには、個々の CPU 使用率の内訳も表示されます。
ARCore 機能。また、これらの内訳は、
使用可能な CPU 時間の合計ですワークロードは次のとおりです。
オーバーレイには、無効になっている機能や
0.1% の CPU 時間。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003eARCore offers a performance overlay that displays real-time CPU and memory usage statistics for your app during AR experiences.\u003c/p\u003e\n"],["\u003cp\u003eTo enable or disable the overlay, use specific ADB commands while your app is actively running in AR mode.\u003c/p\u003e\n"],["\u003cp\u003eThe overlay requires permission to draw overlays, which can be granted in the device's settings for "Google Play Services for AR".\u003c/p\u003e\n"],["\u003cp\u003eCPU usage is shown as a percentage of total device CPU, including both app and ARCore processes, and further broken down by specific ARCore features like motion tracking and plane detection.\u003c/p\u003e\n"]]],[],null,["# ARCore performance overlay\n\nARCore can display an overlay panel with an app's performance statistics such as\nCPU and memory usage, providing a real-time overview of system resources.\n\nEnable the performance overlay\n------------------------------\n\nFollow these steps to enable the performance overlay.\n\n1. Open the AR experience in your app so that there is an active ARCore session\n running. **Your app must be in AR mode to receive the broadcast that enables\n the overlay.** The AR camera preview images should be visible on the device\n screen.\n\n2. Use the following activity manager broadcast command to enable the\n performance overlay for your app.\n\n # Enables ARCore's performance overlay and saves a setting to your app's\n # Android Shared Preferences, so that the overlay remains enabled in\n # subsequent ARCore sessions.\n\n # Your app must have an actively running ARCore session to receive the broadcast.\n adb shell am broadcast -a com.google.ar.core.ENABLE_PERFORMANCE_OVERLAY\n\n3. You may be directed to the **Settings** menu to grant the ARCore package\n permission to draw overlays. This step only needs to be performed once. Find\n **Google Play Services for AR** and set the permissions toggle to **Allowed**\n before navigating back to your app.\n\n If you have enabled the performance overlay without granting ARCore\n permission to draw overlays, you will be directed to the Settings menu each\n time the app begins a new ARCore session. In this case, you should either\n grant ARCore permission, or disable the performance overlay.\n\nDisable the performance overlay\n-------------------------------\n\nFollow these steps to disable the performance overlay.\n\n1. Open the AR experience in your app so that there is an active ARCore session\n running. **Your app must be in AR mode to receive the broadcast that disables\n the overlay.** The AR camera preview images should be visible on the device\n screen.\n\n2. Use the following activity manager broadcast command to disable the\n performance overlay for your app.\n\n # Disables ARCore's performance overlay and saves a setting to your app's\n # Android Shared Preferences, so that the overlay remains disabled in\n # subsequent ARCore sessions.\n\n # Your app must have an actively running ARCore session to receive the broadcast.\n adb shell am broadcast -a com.google.ar.core.DISABLE_PERFORMANCE_OVERLAY\n\nYou can also disable the performance overlay by tapping the close button\non the overlay and clearing\nyour app's Android Shared Preferences. One way to do this is to clear your app's\ndata.\n\nInterpreting CPU usage values\n-----------------------------\n\nThe **Process CPU Usage** field displays the amount of CPU time that the\napplication process currently uses as a percentage of the device's total\navailable CPU time. This value includes application workloads, ARCore workloads,\nand any other libraries that your app uses. For example, the field would display\n25% CPU usage if the application process fully saturates a single CPU core when\nrunning on a quad-core device.\n\nThe performance overlay also provides a CPU usage breakdown for individual\nARCore features. These breakdowns are also expressed as a percentage of the\ndevice's total available CPU time. The workloads are:\n\n- [Motion Tracking](/ar/discover/concepts#motion_tracking)\n- [Plane Detection](/ar/discover/concepts#environmental_understanding)\n\nThe overlay does not display any features that are disabled or using less than\n0.1% CPU time."]]