csharp
public sealed class BufferedProfileSourceA source whose samples somebody else supplies — a remote build, or a test.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
What the remote inspector attaches: a device streams its rings across and this is where they arrive. It buffers rather than replacing, so a burst that spans two of the panel's ticks is one capture rather than two halves.
Fields and properties (3)
public string NameWhat the dropdown calls it — "Editor", "Game", the name of an attached device.
public bool IsRecordingWhether this source is recording at all.
public long DroppedSampleCountHow many samples went over the side before anybody collected them.
Methods (3)
public BufferedProfileSource(string name)Names a buffered source.
public void Offer(ProfilerThreadSamples samples, long dropped = 0)Adds a thread's worth of samples from wherever they arrived.
public ProfilerThreadSamples[] Collect()Takes whatever has been sampled since the last call, emptying the rings.
Used by (1)
- ProfilerModelTestsVixen.Editor.Profiler.Tests