... | ... | @@ -24,7 +24,7 @@ If you stick to the 4 basic calls and the region is traversed only once, it is q |
|
|
If you use only the 4 basic calls, those are the rules:
|
|
|
* Call `LIKWID_MARKER_INIT` only once in your application. Recommendation is the beginning of the `main` routine of your code. There is a guard inside that should prevent problems when it is called multiple times, but don't do it.
|
|
|
* Call `LIKWID_MARKER_CLOSE` only once in your application. Recommendation is the end of the `main` routine of your code. There is **NO** guard if you call it multiple times and will overwrite the output file, skewing up results if you measure between two calls to `LIKWID_MARKER_CLOSE`, so don't do it.
|
|
|
* `LIKWID_MARKER_START(str)` and `LIKWID_MARKER_START(str)` should be called once per application thread. There is some logic inside if it is called not by all application threads, but there might be problems.
|
|
|
* `LIKWID_MARKER_START(str)` and `LIKWID_MARKER_STOP(str)` should be called once per application thread. There is some logic inside if it is called not by all application threads, but there might be problems.
|
|
|
|
|
|
# My code region is quite short
|
|
|
|
... | ... | |