| 227 | } |
| 228 | |
| 229 | void GpuTrace::StartPacket(PacketTrace* packetTrace, uint64_t timestamp) const |
| 230 | { |
| 231 | packetTrace->mRunningPacketCount += 1; |
| 232 | if (packetTrace->mRunningPacketCount == 1) { |
| 233 | packetTrace->mRunningPacketStartTime = timestamp; |
| 234 | if (packetTrace->mFirstPacketTime == 0) { |
| 235 | packetTrace->mFirstPacketTime = timestamp; |
| 236 | |
| 237 | if (IsVerboseTraceEnabled()) { |
| 238 | wprintf(L" GPU: pid=%u frame's first work\n", LookupPacketTraceProcessId(packetTrace)); |
| 239 | } |
| 240 | } |
| 241 | } |
| 242 | } |
| 243 | |
| 244 | void GpuTrace::CompletePacket(PacketTrace* packetTrace, uint64_t timestamp) const |
| 245 | { |
nothing calls this directly
no test coverage detected