这是一份全面介绍 Likwid 工具的幻灯片文档,下载地址:
http://www.oschina.net/bbs/doc/558

Likwid 全程是 Like I knew what I am doing. 该项目通过简单的一些命令行工具来支持开发人员开发高性能和多线程的程序。
Likwid 包含下面工具:
- likwid-topology: Show the thread and cache topology
- likwid-perfCtr: Measure hardware performance counters on Intel and AMD processors
- likwid-features: Show and Toggle hardware prefetch control bits on Intel Core 2 processors
- likwid-pin: Pin your threaded application without touching your code (supports pthreads, Intel OpenMP and gcc OpenMP)
- likwid-bench: Benchmarking framework allowing rapid prototyping of threaded assembly kernels
Likwid at the moment includes:
LikwidTopology : A tool to display the thread and cache topology on multicore/multisocket computers
LikwidPerfCtr : A tool to measure hardware performance counters on recent Intel and AMD processors. It can be used as wrapper application without modifying the profiled code or with a marker API to measure only parts of the code.
LikwidFeatures : A tool to toggle the prefetchers on Core 2 processors.
LikwidPin : A tool to pin your threaded application without changing your code. Works for pthreads and OpenMP.