I wish to profile CPU (sample if possible), with as small a performance impact as possible (hence similar to GCC's -pg
), binaries compiled with Clang. Is there an alternative that uses instrumentation of the code, or produces output similar to gprof?
相关问题
- Multiple sockets for clients to connect to
- What is the best way to do a search in a large fil
- glDrawElements only draws half a quad
- Index of single bit in long integer (in C) [duplic
- Equivalent of std::pair in C
I received a good answer on the Clang mailing list. To summarize, the use of Google Performance Tools was the best fit.