Crate likwid_marker

Source
Expand description

Bindins for the LIKWID marker API.

See to the LIKWID documentation for a guide on how to use it with likwid-perfctr

Functions§

close
Must be called in serial region of the application. It gathers all data of regions and writes them out to a file (filepath in env variable LIKWID_FILEPATH).
init
Initialize LIKWID’s marker API
next_group
Switch to next group to measure
pin_process
Pin the current process to the given CPU ID. The process cannot be scheduled to another CPU after pinning but the pinning can be changed anytime with this function.
pin_thread
Pin the current thread to the given CPU ID. The thread cannot be scheduled to another CPU after pinning but the pinning can be changed anytime with this function
register_region
Register a measurement region
reset_region
Reset a measurement region
start_region
Start a measurement region
stop_region
Stop a measurement region
thread_init
Initialize LIKWID’s marker API for the current thread
write_file
Must be called in serial region of the application. It gathers all data of regions and writes them out to file.