Google.Android.PerformanceTuner.LoadingTimeMetadata

Metadata recorded with a loading time event.

Summary

Public types

LoadingSource{
  Memory = 1,
  Apk = 2,
  DeviceStorage = 3,
  ExternalStorage = 4,
  Network = 5,
  ShaderCompilation = 6,
  PreActivity = 7,
  FirstTouchToFirstFrame = 8,
  TotalUserWaitForGroup = 9
}
enum
LoadingState{
  FirstRun = 1,
  ColdStart = 2,
  WarmStart = 3,
  HotStart = 4,
  InterLevel = 5
}
enum
NetworkConnectivity enum

Public attributes

compression_level
int
0 = no compression, 100 = max compression
network_connectivity
NetworkConnectivity
network_latency_ns
ulong
Latency in nanoseconds.
network_transfer_speed_bps
ulong
Bandwidth in bits per second.
source
state

Public static functions

Copy(LoadingTimeMetadata toBeCopied)

Public types

LoadingSource

 LoadingSource
Properties
Apk

Reading assets from APK bundle.

DeviceStorage

Reading assets from device storage.

ExternalStorage

Reading assets from external storage, for example SD card.

FirstTouchToFirstFrame

Total time spent between process starting and first render frame.

Memory

Uncompressing data.

Network

Loading assets from the network.

PreActivity

Time spent between process starting and onCreate.

ShaderCompilation

Shader compilation.

TotalUserWaitForGroup

Time from start to end of a group of events.

LoadingState

 LoadingState
Properties
ColdStart

App is not backgrounded.

FirstRun

The first time the game is run.

HotStart

App is backgrounded, least work needed.

InterLevel

Asset loading between levels.

WarmStart

App is backgrounded.

NetworkConnectivity

 NetworkConnectivity

Public attributes

compression_level

int compression_level

0 = no compression, 100 = max compression

network_connectivity

NetworkConnectivity network_connectivity

network_latency_ns

ulong network_latency_ns

Latency in nanoseconds.

network_transfer_speed_bps

ulong network_transfer_speed_bps

Bandwidth in bits per second.

source

LoadingSource source

state

LoadingState state

Public static functions

Copy

LoadingTimeMetadata Copy(
  LoadingTimeMetadata toBeCopied
)