Macros
Here we present the list of macros available in the marta_wrapper.h header
file:
Macro |
Description |
|---|---|
|
Sets benchmark’s start. It also sets CPU affinity for the execution using Linux system calls. |
|
Sets the end of the main function in the program. |
|
Performs |
|
Instruments function |
|
Acts as a read/write barrier. Useful for micro-benchmarking, avoiding the reuse of values in register bringing values from memory. |
|
Useful for avoiding any compiler optimization over variable |