![]() |
|
PhoenixMicroBenchmark
1.0.1
Toolset for function micro-benchmarking
|
#include <errno.h>#include <stdio.h>#include <stdlib.h>#include <pthread.h>#include <iostream>#include "pin_thread_to_core.h"
Include dependency graph for pin_thread_to_core.cpp:Go to the source code of this file.
Macros | |
| #define | handle_error_en(en, msg) |
Functions | |
| bool | pinThreadToCore () |
| Pins the current thread to the current core. | |
| #define handle_error_en | ( | en, | |
| msg ) |
Definition at line 15 of file pin_thread_to_core.cpp.
Referenced by pinThreadToCore().
| bool pinThreadToCore | ( | ) |
Pins the current thread to the current core.
Definition at line 23 of file pin_thread_to_core.cpp.
References handle_error_en.