| 743 | |
| 744 | template <typename ParamSerialiser, typename ReturnSerialiser> |
| 745 | rdcarray<CounterResult> ReplayProxy::Proxied_FetchCounters(ParamSerialiser ¶mser, |
| 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 | |
| 770 | rdcarray<CounterResult> ReplayProxy::FetchCounters(const rdcarray<GPUCounter> &counters) |
| 771 | { |
nothing calls this directly
no test coverage detected