MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / BuildRings_

Function BuildRings_

IntelPresentMon/SampleClient/IpcComponentServer.cpp:56–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54};
55
56static void BuildRings_(ipc::SystemDataStore& store, size_t ringCapacity)
57{
58 // Scalar metric
59 store.telemetryData.AddRing(kScalarMetric, ringCapacity, 1, PM_DATA_TYPE_DOUBLE);
60
61 // Array metric with 2 elements
62 store.telemetryData.AddRing(kArrayMetric, ringCapacity, 2, PM_DATA_TYPE_DOUBLE);
63}
64
65static void PushDeterministicSamples_(ipc::SystemDataStore& store, size_t sampleCount,
66 size_t& nextIndex)

Callers 1

IpcComponentServerFunction · 0.85

Calls 1

AddRingMethod · 0.80

Tested by

no test coverage detected