357 if (!m_sub_domain->parallelMng()->isMasterIO())
361 m_global_def_writer = OTF2_Archive_GetGlobalDefWriter(m_archive);
369 OTF2_GlobalDefWriter_WriteClockProperties(m_global_def_writer, 1000000000,
370 global_start_time, global_end_time - global_start_time + 1
371#
if OTF2_VERSION_MAJOR >= 3
373 OTF2_UNDEFINED_TIMESTAMP
379 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
380 static_cast<uint32_t
>(eMpiName::Bcast),
MpiInfo(eMpiName::Bcast).name().localstr());
381 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
382 static_cast<uint32_t
>(eMpiName::Gather),
MpiInfo(eMpiName::Gather).name().localstr());
383 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
384 static_cast<uint32_t
>(eMpiName::Gatherv),
MpiInfo(eMpiName::Gatherv).name().localstr());
385 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
386 static_cast<uint32_t
>(eMpiName::Allgather),
MpiInfo(eMpiName::Allgather).name().localstr());
387 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
388 static_cast<uint32_t
>(eMpiName::Allgatherv),
MpiInfo(eMpiName::Allgatherv).name().localstr());
389 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
390 static_cast<uint32_t
>(eMpiName::Scatterv),
MpiInfo(eMpiName::Scatterv).name().localstr());
391 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
392 static_cast<uint32_t
>(eMpiName::Alltoall),
MpiInfo(eMpiName::Alltoall).name().localstr());
393 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
394 static_cast<uint32_t
>(eMpiName::Alltoallv),
MpiInfo(eMpiName::Alltoallv).name().localstr());
395 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
396 static_cast<uint32_t
>(eMpiName::Barrier),
MpiInfo(eMpiName::Barrier).name().localstr());
397 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
398 static_cast<uint32_t
>(eMpiName::Reduce),
MpiInfo(eMpiName::Reduce).name().localstr());
399 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
400 static_cast<uint32_t
>(eMpiName::Allreduce),
MpiInfo(eMpiName::Allreduce).name().localstr());
401 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
402 static_cast<uint32_t
>(eMpiName::Scan),
MpiInfo(eMpiName::Scan).name().localstr());
403 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
404 static_cast<uint32_t
>(eMpiName::Sendrecv),
MpiInfo(eMpiName::Sendrecv).name().localstr());
405 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
406 static_cast<uint32_t
>(eMpiName::Isend),
MpiInfo(eMpiName::Isend).name().localstr());
407 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
408 static_cast<uint32_t
>(eMpiName::Send),
MpiInfo(eMpiName::Send).name().localstr());
409 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
410 static_cast<uint32_t
>(eMpiName::Irecv),
MpiInfo(eMpiName::Irecv).name().localstr());
411 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
412 static_cast<uint32_t
>(eMpiName::Recv),
MpiInfo(eMpiName::Recv).name().localstr());
413 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
414 static_cast<uint32_t
>(eMpiName::Test),
MpiInfo(eMpiName::Test).name().localstr());
415 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
416 static_cast<uint32_t
>(eMpiName::Probe),
MpiInfo(eMpiName::Probe).name().localstr());
417 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
418 static_cast<uint32_t
>(eMpiName::Get_count),
MpiInfo(eMpiName::Get_count).name().localstr());
419 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
420 static_cast<uint32_t
>(eMpiName::Wait),
MpiInfo(eMpiName::Wait).name().localstr());
421 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
422 static_cast<uint32_t
>(eMpiName::Waitall),
MpiInfo(eMpiName::Waitall).name().localstr());
423 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
424 static_cast<uint32_t
>(eMpiName::Testsome),
MpiInfo(eMpiName::Testsome).name().localstr());
425 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
426 static_cast<uint32_t
>(eMpiName::Waitsome),
MpiInfo(eMpiName::Waitsome).name().localstr());
428 u_int32_t offset(
static_cast<uint32_t
>(eMpiName::NameOffset));
431 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
432 static_cast<uint32_t
>(eMpiName::Bcast) + offset,
MpiInfo(eMpiName::Bcast).description().localstr());
433 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
434 static_cast<uint32_t
>(eMpiName::Gather) + offset,
MpiInfo(eMpiName::Gather).description().localstr());
435 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
436 static_cast<uint32_t
>(eMpiName::Gatherv) + offset,
MpiInfo(eMpiName::Gatherv).description().localstr());
437 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
438 static_cast<uint32_t
>(eMpiName::Allgather) + offset,
MpiInfo(eMpiName::Allgather).description().localstr());
439 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
440 static_cast<uint32_t
>(eMpiName::Allgatherv) + offset,
MpiInfo(eMpiName::Allgatherv).description().localstr());
441 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
442 static_cast<uint32_t
>(eMpiName::Scatterv) + offset,
MpiInfo(eMpiName::Scatterv).description().localstr());
443 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
444 static_cast<uint32_t
>(eMpiName::Alltoall) + offset,
MpiInfo(eMpiName::Alltoall).description().localstr());
445 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
446 static_cast<uint32_t
>(eMpiName::Alltoallv) + offset,
MpiInfo(eMpiName::Alltoallv).description().localstr());
447 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
448 static_cast<uint32_t
>(eMpiName::Barrier) + offset,
MpiInfo(eMpiName::Barrier).description().localstr());
449 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
450 static_cast<uint32_t
>(eMpiName::Reduce) + offset,
MpiInfo(eMpiName::Reduce).description().localstr());
451 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
452 static_cast<uint32_t
>(eMpiName::Allreduce) + offset,
MpiInfo(eMpiName::Allreduce).description().localstr());
453 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
454 static_cast<uint32_t
>(eMpiName::Scan) + offset,
MpiInfo(eMpiName::Scan).description().localstr());
455 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
456 static_cast<uint32_t
>(eMpiName::Sendrecv) + offset,
MpiInfo(eMpiName::Sendrecv).description().localstr());
457 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
458 static_cast<uint32_t
>(eMpiName::Isend) + offset,
MpiInfo(eMpiName::Isend).description().localstr());
459 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
460 static_cast<uint32_t
>(eMpiName::Send) + offset,
MpiInfo(eMpiName::Send).description().localstr());
461 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
462 static_cast<uint32_t
>(eMpiName::Irecv) + offset,
MpiInfo(eMpiName::Irecv).description().localstr());
463 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
464 static_cast<uint32_t
>(eMpiName::Recv) + offset,
MpiInfo(eMpiName::Recv).description().localstr());
465 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
466 static_cast<uint32_t
>(eMpiName::Test) + offset,
MpiInfo(eMpiName::Test).description().localstr());
467 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
468 static_cast<uint32_t
>(eMpiName::Probe) + offset,
MpiInfo(eMpiName::Probe).description().localstr());
469 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
470 static_cast<uint32_t
>(eMpiName::Get_count) + offset,
MpiInfo(eMpiName::Get_count).description().localstr());
471 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
472 static_cast<uint32_t
>(eMpiName::Wait) + offset,
MpiInfo(eMpiName::Wait).description().localstr());
473 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
474 static_cast<uint32_t
>(eMpiName::Waitall) + offset,
MpiInfo(eMpiName::Waitall).description().localstr());
475 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
476 static_cast<uint32_t
>(eMpiName::Testsome) + offset,
MpiInfo(eMpiName::Testsome).description().localstr());
477 OTF2_GlobalDefWriter_WriteString(m_global_def_writer,
478 static_cast<uint32_t
>(eMpiName::Waitsome) + offset,
MpiInfo(eMpiName::Waitsome).description().localstr());
483 OTF2_GlobalDefWriter_WriteString(m_global_def_writer, offset++,
"");
485 OTF2_GlobalDefWriter_WriteString(m_global_def_writer, offset++,
"Master Thread");
489 OTF2_GlobalDefWriter_WriteString(m_global_def_writer, offset++,
"Compute node");
491 OTF2_GlobalDefWriter_WriteString(m_global_def_writer, offset++,
"MPI_COMM_WORLD");
493 OTF2_GlobalDefWriter_WriteString(m_global_def_writer, offset++,
"MPI");
496 OTF2_GlobalDefWriter_WriteString(m_global_def_writer, offset++,
"Comm ${id}");
498 OTF2_GlobalDefWriter_WriteString(m_global_def_writer, offset++,
"Win ${id}");
500 OTF2_GlobalDefWriter_WriteString(m_global_def_writer, offset++,
"MPI_COMM_SELF");
503 OTF2_GlobalDefWriter_WriteString(m_global_def_writer, offset++,
"Entry Point");
505 OTF2_GlobalDefWriter_WriteString(m_global_def_writer, offset++,
"Synchronize");
507 OTF2_GlobalDefWriter_WriteString(m_global_def_writer, offset++, m_sub_domain->application()->applicationName().localstr());
509 for (
Int32 i(0); i < m_sub_domain->nbSubDomain(); ++i) {
510 String mpi_rank_name(std::string(
"MPI Rank ") + std::to_string(i));
511 OTF2_GlobalDefWriter_WriteString(m_global_def_writer, offset++, mpi_rank_name.
localstr());
514 for (
auto i : m_sub_domain->timeLoopMng()->usedTimeLoopEntryPoints())
516 OTF2_GlobalDefWriter_WriteString(m_global_def_writer, offset++, i->fullName().localstr());
590 if (!m_sub_domain->parallelMng()->isMasterIO())
595 OTF2_GlobalDefWriter_WriteRegion(m_global_def_writer,
static_cast<uint32_t
>(eMpiName::Bcast),
596 static_cast<uint32_t
>(eMpiName::Bcast),
static_cast<uint32_t
>(eMpiName::Bcast),
597 static_cast<uint32_t
>(eMpiName::Bcast) + m_id.m_desc_offset,
598 OTF2_REGION_ROLE_COLL_ONE2ALL,
600 OTF2_REGION_FLAG_NONE,
601 m_id.m_mpi_id, 0, 0);
603 OTF2_GlobalDefWriter_WriteRegion(m_global_def_writer,
static_cast<uint32_t
>(eMpiName::Gather),
604 static_cast<uint32_t
>(eMpiName::Gather),
static_cast<uint32_t
>(eMpiName::Gather),
605 static_cast<uint32_t
>(eMpiName::Gather) + m_id.m_desc_offset,
606 OTF2_REGION_ROLE_COLL_ALL2ONE,
608 OTF2_REGION_FLAG_NONE,
609 m_id.m_mpi_id, 0, 0);
611 OTF2_GlobalDefWriter_WriteRegion(m_global_def_writer,
static_cast<uint32_t
>(eMpiName::Gatherv),
612 static_cast<uint32_t
>(eMpiName::Gatherv),
static_cast<uint32_t
>(eMpiName::Gatherv),
613 static_cast<uint32_t
>(eMpiName::Gatherv) + m_id.m_desc_offset,
614 OTF2_REGION_ROLE_COLL_ALL2ONE,
616 OTF2_REGION_FLAG_NONE,
617 m_id.m_mpi_id, 0, 0);
619 OTF2_GlobalDefWriter_WriteRegion(m_global_def_writer,
static_cast<uint32_t
>(eMpiName::Allgather),
620 static_cast<uint32_t
>(eMpiName::Allgather),
static_cast<uint32_t
>(eMpiName::Allgather),
621 static_cast<uint32_t
>(eMpiName::Allgather) + m_id.m_desc_offset,
622 OTF2_REGION_ROLE_COLL_ALL2ALL,
624 OTF2_REGION_FLAG_NONE,
625 m_id.m_mpi_id, 0, 0);
627 OTF2_GlobalDefWriter_WriteRegion(m_global_def_writer,
static_cast<uint32_t
>(eMpiName::Allgatherv),
628 static_cast<uint32_t
>(eMpiName::Allgatherv),
static_cast<uint32_t
>(eMpiName::Allgatherv),
629 static_cast<uint32_t
>(eMpiName::Allgatherv) + m_id.m_desc_offset,
630 OTF2_REGION_ROLE_COLL_ALL2ALL,
632 OTF2_REGION_FLAG_NONE,
633 m_id.m_mpi_id, 0, 0);
635 OTF2_GlobalDefWriter_WriteRegion(m_global_def_writer,
static_cast<uint32_t
>(eMpiName::Scatterv),
636 static_cast<uint32_t
>(eMpiName::Scatterv),
static_cast<uint32_t
>(eMpiName::Scatterv),
637 static_cast<uint32_t
>(eMpiName::Scatterv) + m_id.m_desc_offset,
638 OTF2_REGION_ROLE_COLL_ONE2ALL,
640 OTF2_REGION_FLAG_NONE,
641 m_id.m_mpi_id, 0, 0);
643 OTF2_GlobalDefWriter_WriteRegion(m_global_def_writer,
static_cast<uint32_t
>(eMpiName::Alltoall),
644 static_cast<uint32_t
>(eMpiName::Alltoall),
static_cast<uint32_t
>(eMpiName::Alltoall),
645 static_cast<uint32_t
>(eMpiName::Alltoall) + m_id.m_desc_offset,
646 OTF2_REGION_ROLE_COLL_ALL2ALL,
648 OTF2_REGION_FLAG_NONE,
649 m_id.m_mpi_id, 0, 0);
651 OTF2_GlobalDefWriter_WriteRegion(m_global_def_writer,
static_cast<uint32_t
>(eMpiName::Alltoallv),
652 static_cast<uint32_t
>(eMpiName::Alltoallv),
static_cast<uint32_t
>(eMpiName::Alltoallv),
653 static_cast<uint32_t
>(eMpiName::Alltoallv) + m_id.m_desc_offset,
654 OTF2_REGION_ROLE_COLL_ALL2ALL,
656 OTF2_REGION_FLAG_NONE,
657 m_id.m_mpi_id, 0, 0);
659 OTF2_GlobalDefWriter_WriteRegion(m_global_def_writer,
static_cast<uint32_t
>(eMpiName::Barrier),
660 static_cast<uint32_t
>(eMpiName::Barrier),
static_cast<uint32_t
>(eMpiName::Barrier),
661 static_cast<uint32_t
>(eMpiName::Barrier) + m_id.m_desc_offset,
662 OTF2_REGION_ROLE_BARRIER,
664 OTF2_REGION_FLAG_NONE,
665 m_id.m_mpi_id, 0, 0);
667 OTF2_GlobalDefWriter_WriteRegion(m_global_def_writer,
static_cast<uint32_t
>(eMpiName::Reduce),
668 static_cast<uint32_t
>(eMpiName::Reduce),
static_cast<uint32_t
>(eMpiName::Reduce),
669 static_cast<uint32_t
>(eMpiName::Reduce) + m_id.m_desc_offset,
670 OTF2_REGION_ROLE_COLL_ALL2ONE,
672 OTF2_REGION_FLAG_NONE,
673 m_id.m_mpi_id, 0, 0);
675 OTF2_GlobalDefWriter_WriteRegion(m_global_def_writer,
static_cast<uint32_t
>(eMpiName::Allreduce),
676 static_cast<uint32_t
>(eMpiName::Allreduce),
static_cast<uint32_t
>(eMpiName::Allreduce),
677 static_cast<uint32_t
>(eMpiName::Allreduce) + m_id.m_desc_offset,
678 OTF2_REGION_ROLE_COLL_ALL2ALL,
680 OTF2_REGION_FLAG_NONE,
681 m_id.m_mpi_id, 0, 0);
683 OTF2_GlobalDefWriter_WriteRegion(m_global_def_writer,
static_cast<uint32_t
>(eMpiName::Scan),
684 static_cast<uint32_t
>(eMpiName::Scan),
static_cast<uint32_t
>(eMpiName::Scan),
685 static_cast<uint32_t
>(eMpiName::Scan) + m_id.m_desc_offset,
686 OTF2_REGION_ROLE_COLL_OTHER,
688 OTF2_REGION_FLAG_NONE,
689 m_id.m_mpi_id, 0, 0);
691 OTF2_GlobalDefWriter_WriteRegion(m_global_def_writer,
static_cast<uint32_t
>(eMpiName::Sendrecv),
692 static_cast<uint32_t
>(eMpiName::Sendrecv),
static_cast<uint32_t
>(eMpiName::Sendrecv),
693 static_cast<uint32_t
>(eMpiName::Sendrecv) + m_id.m_desc_offset,
694 OTF2_REGION_ROLE_POINT2POINT,
696 OTF2_REGION_FLAG_NONE,
697 m_id.m_mpi_id, 0, 0);
699 OTF2_GlobalDefWriter_WriteRegion(m_global_def_writer,
static_cast<uint32_t
>(eMpiName::Isend),
700 static_cast<uint32_t
>(eMpiName::Isend),
static_cast<uint32_t
>(eMpiName::Isend),
701 static_cast<uint32_t
>(eMpiName::Isend) + m_id.m_desc_offset,
702 OTF2_REGION_ROLE_POINT2POINT,
704 OTF2_REGION_FLAG_NONE,
705 m_id.m_mpi_id, 0, 0);
707 OTF2_GlobalDefWriter_WriteRegion(m_global_def_writer,
static_cast<uint32_t
>(eMpiName::Send),
708 static_cast<uint32_t
>(eMpiName::Send),
static_cast<uint32_t
>(eMpiName::Send),
709 static_cast<uint32_t
>(eMpiName::Send) + m_id.m_desc_offset,
710 OTF2_REGION_ROLE_POINT2POINT,
712 OTF2_REGION_FLAG_NONE,
713 m_id.m_mpi_id, 0, 0);
715 OTF2_GlobalDefWriter_WriteRegion(m_global_def_writer,
static_cast<uint32_t
>(eMpiName::Irecv),
716 static_cast<uint32_t
>(eMpiName::Irecv),
static_cast<uint32_t
>(eMpiName::Irecv),
717 static_cast<uint32_t
>(eMpiName::Irecv) + m_id.m_desc_offset,
718 OTF2_REGION_ROLE_POINT2POINT,
720 OTF2_REGION_FLAG_NONE,
721 m_id.m_mpi_id, 0, 0);
723 OTF2_GlobalDefWriter_WriteRegion(m_global_def_writer,
static_cast<uint32_t
>(eMpiName::Recv),
724 static_cast<uint32_t
>(eMpiName::Recv),
static_cast<uint32_t
>(eMpiName::Recv),
725 static_cast<uint32_t
>(eMpiName::Recv) + m_id.m_desc_offset,
726 OTF2_REGION_ROLE_POINT2POINT,
728 OTF2_REGION_FLAG_NONE,
729 m_id.m_mpi_id, 0, 0);
731 OTF2_GlobalDefWriter_WriteRegion(m_global_def_writer,
static_cast<uint32_t
>(eMpiName::Test),
732 static_cast<uint32_t
>(eMpiName::Test),
static_cast<uint32_t
>(eMpiName::Test),
733 static_cast<uint32_t
>(eMpiName::Test) + m_id.m_desc_offset,
734 OTF2_REGION_ROLE_FUNCTION,
736 OTF2_REGION_FLAG_NONE,
737 m_id.m_mpi_id, 0, 0);
739 OTF2_GlobalDefWriter_WriteRegion(m_global_def_writer,
static_cast<uint32_t
>(eMpiName::Probe),
740 static_cast<uint32_t
>(eMpiName::Probe),
static_cast<uint32_t
>(eMpiName::Probe),
741 static_cast<uint32_t
>(eMpiName::Probe) + m_id.m_desc_offset,
742 OTF2_REGION_ROLE_POINT2POINT,
744 OTF2_REGION_FLAG_NONE,
745 m_id.m_mpi_id, 0, 0);
747 OTF2_GlobalDefWriter_WriteRegion(m_global_def_writer,
static_cast<uint32_t
>(eMpiName::Get_count),
748 static_cast<uint32_t
>(eMpiName::Get_count),
static_cast<uint32_t
>(eMpiName::Get_count),
749 static_cast<uint32_t
>(eMpiName::Get_count) + m_id.m_desc_offset,
750 OTF2_REGION_ROLE_FUNCTION,
752 OTF2_REGION_FLAG_NONE,
753 m_id.m_mpi_id, 0, 0);
755 OTF2_GlobalDefWriter_WriteRegion(m_global_def_writer,
static_cast<uint32_t
>(eMpiName::Wait),
756 static_cast<uint32_t
>(eMpiName::Wait),
static_cast<uint32_t
>(eMpiName::Wait),
757 static_cast<uint32_t
>(eMpiName::Wait) + m_id.m_desc_offset,
758 OTF2_REGION_ROLE_FUNCTION,
760 OTF2_REGION_FLAG_NONE,
761 m_id.m_mpi_id, 0, 0);
763 OTF2_GlobalDefWriter_WriteRegion(m_global_def_writer,
static_cast<uint32_t
>(eMpiName::Waitall),
764 static_cast<uint32_t
>(eMpiName::Waitall),
static_cast<uint32_t
>(eMpiName::Waitall),
765 static_cast<uint32_t
>(eMpiName::Waitall) + m_id.m_desc_offset,
766 OTF2_REGION_ROLE_FUNCTION,
768 OTF2_REGION_FLAG_NONE,
769 m_id.m_mpi_id, 0, 0);
771 OTF2_GlobalDefWriter_WriteRegion(m_global_def_writer,
static_cast<uint32_t
>(eMpiName::Testsome),
772 static_cast<uint32_t
>(eMpiName::Testsome),
static_cast<uint32_t
>(eMpiName::Testsome),
773 static_cast<uint32_t
>(eMpiName::Testsome) + m_id.m_desc_offset,
774 OTF2_REGION_ROLE_FUNCTION,
776 OTF2_REGION_FLAG_NONE,
777 m_id.m_mpi_id, 0, 0);
779 OTF2_GlobalDefWriter_WriteRegion(m_global_def_writer,
static_cast<uint32_t
>(eMpiName::Waitsome),
780 static_cast<uint32_t
>(eMpiName::Waitsome),
static_cast<uint32_t
>(eMpiName::Waitsome),
781 static_cast<uint32_t
>(eMpiName::Waitsome) + m_id.m_desc_offset,
782 OTF2_REGION_ROLE_FUNCTION,
784 OTF2_REGION_FLAG_NONE,
785 m_id.m_mpi_id, 0, 0);
787 for (
const auto& i : m_id.m_ep_id_set) {
788 OTF2_GlobalDefWriter_WriteRegion(m_global_def_writer,
static_cast<uint32_t
>(i.m_id),
789 static_cast<uint32_t
>(i.m_id),
static_cast<uint32_t
>(i.m_id),
790 static_cast<uint32_t
>(i.m_id),
791 OTF2_REGION_ROLE_FUNCTION,
793 OTF2_REGION_FLAG_NONE,
797 OTF2_GlobalDefWriter_WriteRegion(m_global_def_writer, m_id.m_sync_id,
798 m_id.m_sync_id, m_id.m_sync_id, m_id.m_sync_id,
799 OTF2_REGION_ROLE_FUNCTION,
801 OTF2_REGION_FLAG_NONE,
802 m_id.m_sync_id, 0, 0);