search for: __rdtscp

Displaying 2 results from an estimated 2 matches for "__rdtscp".

2016 Jul 20
2
[XRay] Build instrumented Clang, some analysis results
...asure? > We've seen in the "null logging case" something around O(100) cycles in X86 for the trampoline side of XRay. Of course richer logging requires more cycles, and is completely implementation-dependent. The current one under development only writes fixed-sized records, uses __rdtscp(), does aligned writes only, and flushes when the buffer is full. The buffer is 32k per thread. I haven't formally done benchmarks on the current implementation yet, but I'd be happy to do that soon. > If you're injection calls before/after every function - does it end up > bloc...
2016 Jul 20
2
[XRay] Build instrumented Clang, some analysis results
Hi everyone, TL;DR: With current pending patches applied in compiler-rt and llvm, and trunk clang, you can build your application with XRay tracing enabled on Linux with tracing enabled before main starts, and logging stops when the main thread exits. Just a quick update, I have some patches under review that when applied cleanly to LLVM and compiler-rt allows for building applications with XRay