docs.unity3d.com
    Show / Hide Table of Contents

    Using System Metrics Mali samples

    System Metrics Mali ships with a sample to help you integrate provided counters into your Project.

    When you install the System Metrics package, Unity automatically downloads its associated samples. Import these samples into your Project to see example uses of the System Metrics Mali APIs.

    While running, samples generate information about their current state. You can use the Profiler Module Editor to monitor the state of plug-in counters. You can add System Metrics Mali counters and record updates in the same way as usual profiler data.

    Installation

    Install System Metrics Mali samples from the Package Manager window. The following samples are available:

    • Read GPU Metric

    Read GPU Metric

    Note: You need an Android phone with a Mali GPU to see effects for this sample.

    The Read GPU Metric sample shows how GPU metrics can be accessed at runtime.

    The sample demonstrates how to create a ProfilerRecorder associated with GPU Metric, how to read it, and how to dispose of created ProfilerRecorder after use.

    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