Sampler
Provides control over a CPU Profiler label.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Class
- Namespace: UnityEngine.Profiling
- Assembly: UnityEngine.CoreModule
public class Sampler
Remarks
Sampler is a counter which produces timings information you can see in CPU Profiler. Use this class to get information about built-in or custom Profiler label.
Additional Resources: Sampler.Get, CustomSampler, CPU Usage Profiler.
Properties
Property | Description |
|---|---|
| isValid | Returns true if Sampler is valid. (Read Only) |
| name | Sampler name. (Read Only) |
Methods
Method | Description |
|---|---|
| GetRecorder | Returns Recorder associated with the Sampler. |