MCPcopy Create free account
hub / github.com/baldurk/renderdoc / Proxied_FetchCounters

Method Proxied_FetchCounters

renderdoc/core/replay_proxy.cpp:745–768  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

743
744template <typename ParamSerialiser, typename ReturnSerialiser>
745rdcarray<CounterResult> ReplayProxy::Proxied_FetchCounters(ParamSerialiser &paramser,
746 ReturnSerialiser &retser,
747 const rdcarray<GPUCounter> &counters)
748{
749 const ReplayProxyPacket expectedPacket = eReplayProxy_FetchCounters;
750 ReplayProxyPacket packet = eReplayProxy_FetchCounters;
751 rdcarray<CounterResult> ret;
752
753 {
754 BEGIN_PARAMS();
755 SERIALISE_ELEMENT(counters);
756 END_PARAMS();
757 }
758
759 {
760 REMOTE_EXECUTION();
761 if(paramser.IsReading() && !paramser.IsErrored() && !m_IsErrored)
762 ret = m_Remote->FetchCounters(counters);
763 }
764
765 SERIALISE_RETURN(ret);
766
767 return ret;
768}
769
770rdcarray<CounterResult> ReplayProxy::FetchCounters(const rdcarray<GPUCounter> &counters)
771{

Callers

nothing calls this directly

Calls 3

IsReadingMethod · 0.80
IsErroredMethod · 0.45
FetchCountersMethod · 0.45

Tested by

no test coverage detected