[Openmp-commits] [PATCH] D49373: [OMPT] Print two more addresses in print_fuzzy_address_block()
Phabricator via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Fri Jul 27 11:13:54 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL338144: [OMPT] Print two more addresses in print_fuzzy_address_block() (authored by jprotze, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D49373?vs=155663&id=157715#toc
Repository:
rL LLVM
https://reviews.llvm.org/D49373
Files:
openmp/trunk/runtime/test/ompt/callback.h
Index: openmp/trunk/runtime/test/ompt/callback.h
===================================================================
--- openmp/trunk/runtime/test/ompt/callback.h
+++ openmp/trunk/runtime/test/ompt/callback.h
@@ -183,11 +183,14 @@
// to include or discard the new number of nibbles!
#define FUZZY_ADDRESS_DISCARD_NIBBLES 2
#define FUZZY_ADDRESS_DISCARD_BYTES (1 << ((FUZZY_ADDRESS_DISCARD_NIBBLES) * 4))
-#define print_fuzzy_address_blocks(addr) \
- printf("%" PRIu64 ": fuzzy_address=0x%" PRIx64 " or 0x%" PRIx64 " (%p)\n", \
- ompt_get_thread_data()->value, \
- ((uint64_t)addr) / FUZZY_ADDRESS_DISCARD_BYTES - 1, \
- ((uint64_t)addr) / FUZZY_ADDRESS_DISCARD_BYTES, addr)
+#define print_fuzzy_address_blocks(addr) \
+ printf("%" PRIu64 ": fuzzy_address=0x%" PRIx64 " or 0x%" PRIx64 \
+ " or 0x%" PRIx64 " or 0x%" PRIx64 " (%p)\n", \
+ ompt_get_thread_data()->value, \
+ ((uint64_t)addr) / FUZZY_ADDRESS_DISCARD_BYTES - 1, \
+ ((uint64_t)addr) / FUZZY_ADDRESS_DISCARD_BYTES, \
+ ((uint64_t)addr) / FUZZY_ADDRESS_DISCARD_BYTES + 1, \
+ ((uint64_t)addr) / FUZZY_ADDRESS_DISCARD_BYTES + 2, addr)
static void
on_ompt_callback_mutex_acquire(
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49373.157715.patch
Type: text/x-patch
Size: 1371 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180727/b719d864/attachment.bin>
More information about the Openmp-commits
mailing list