| 51 | }; |
| 52 | |
| 53 | constexpr char const* GetProfilingStateName(ProfilingState state) |
| 54 | { |
| 55 | switch (state) |
| 56 | { |
| 57 | case ProfilingState::Uninitialised: return "Uninitialised"; |
| 58 | case ProfilingState::NotConnected: return "NotConnected"; |
| 59 | case ProfilingState::WaitingForAck: return "WaitingForAck"; |
| 60 | case ProfilingState::Active: return "Active"; |
| 61 | default: return "Unknown"; |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | } // namespace pipe |
| 66 |
no outgoing calls
no test coverage detected