docs.unity3d.com
    Show / Hide Table of Contents

    About System Metrics Mali

    The System Metrics Mali package allows you to access low-level system or hardware performance metrics on mobile devices for profiling or runtime performance adjustments. For example, you could use the package to:

    • Monitor low-level GPU metrics in Unity Profiler to assess performance bottlenecks.
    • Access the same metrics using Recorder API in runtime and adjust graphics quality based on the current bottleneck.
    • Automate performance testing, by collecting extensive performance measurements with your continuous integration test runs.

    Installation

    You can install the package in one of the following ways:

    • From the Unity Package Manager
    • Manually from the Package Manifest

    Unity Package Manager

    Use the Unity Package Manager to install the System Metrics Mali package.

    System Metrics Mali package listed and selected to install in the Package Manager.

    Package manifest

    You can also install System Metrics Mali manually. To do this, add a reference to System Metrics Mali in your Project's Packages/manifest.json file. There are two ways you can reference a specific version of the System Metrics Mali package, depending on how you use it.

    Using a released version of the package

    You can point the Package Manager at a publicly available version. To do this manually, add it to manifest.json:

        "dependencies": {
            //...
            "com.unity.systemmetrics":"<full version number>"
        }
    

    Using a local clone of the package

    If you want to use a cloned version of the package, you can point the Package Manager at a local folder as the package location:

        "dependencies": {
            //...
            "com.unity.systemmetrics":"file:path/to/package/root"
        }
    

    Note: The root of the package folder isn't necessarily the root of the cloned repository. The root of the package folder is the folder that contains the package.json file.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023