| 991 | } |
| 992 | |
| 993 | static const char* GetIndent(int i) |
| 994 | { |
| 995 | static char buf[512]; |
| 996 | uint32_t count = i * 4; |
| 997 | if (count >= sizeof(buf)) |
| 998 | count = sizeof(buf) - 1; |
| 999 | |
| 1000 | memset(buf, ' ', count); |
| 1001 | buf[count] = 0; |
| 1002 | return buf; |
| 1003 | } |
| 1004 | |
| 1005 | static void DumpThread(ProfilerThread* thread) |
| 1006 | { |
no outgoing calls
no test coverage detected