search for: sw_task_clock

Displaying 3 results from an estimated 3 matches for "sw_task_clock".

2014 May 16
5
[LLVMdev] Use perf tool for more accurate time measuring on Linux
Hi all, The LLVM benchmarking system produces very noisy results even on quiet machines. One of the sources of inaccuracy is the timing tool we are using. Because it is a user-space tool, the OS can context switch it and we will get an outlier result. Perf stat uses SW_TASK_CLOCK counter in kernel to measure time, therefore more accurate. It also does not get context switched. I've implemented a wrapper script over perf stat which mimics the behaviour of timeit tool in test suite, so that nothing else needs to be modified. The script is not yet feature complete as time...
2014 May 16
2
[LLVMdev] Use perf tool for more accurate time measuring on Linux
...> The LLVM benchmarking system produces very noisy results even on >> quiet >> machines. One of the sources of inaccuracy is the timing tool we are >> using. Because it is a user-space tool, the OS can context switch it >> and we will get an outlier result. Perf stat uses SW_TASK_CLOCK >> counter in kernel to measure time, therefore more accurate. It also >> does not get context switched. >> >> I've implemented a wrapper script over perf stat which mimics the >> behaviour of timeit tool in test suite, so that nothing else needs to >> be mod...
2014 May 16
2
[LLVMdev] Use perf tool for more accurate time measuring on Linux
...oduces very noisy results even on >> >> quiet >> >> machines. One of the sources of inaccuracy is the timing tool we are >> >> using. Because it is a user-space tool, the OS can context switch it >> >> and we will get an outlier result. Perf stat uses SW_TASK_CLOCK >> >> counter in kernel to measure time, therefore more accurate. It also >> >> does not get context switched. >> >> >> >> I've implemented a wrapper script over perf stat which mimics the >> >> behaviour of timeit tool in test suite,...