Motiv
Marvelous OTF2 Traces Interactive Visualizer
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
NonBlockingP2PCommunicationEvent Class Reference

Class representing non blocking events in point to point communications like MPI_ISEND, MPI_IRECEIVE. More...

#include <NonBlockingP2PCommunicationEvent.hpp>

Inheritance diagram for NonBlockingP2PCommunicationEvent:
Inheritance graph
[legend]
Collaboration diagram for NonBlockingP2PCommunicationEvent:
Collaboration graph
[legend]

Public Member Functions

otf2::definition::location * getLocation () const override
 
otf2::chrono::duration getStartTime () const override
 
otf2::chrono::duration getEndTime () const override
 
types::communicator * getCommunicator () const override
 
- Public Member Functions inherited from CommunicationEvent
virtual otf2::definition::location * getLocation () const =0
 
otf2::chrono::duration getStartTime () const override=0
 
otf2::chrono::duration getEndTime () const override=0
 
virtual types::communicator * getCommunicator () const =0
 
virtual CommunicationKind getKind () const =0
 
- Public Member Functions inherited from TimedElement
virtual types::TraceTime getStartTime () const =0
 Returns the start time of the current object. More...
 
virtual types::TraceTime getEndTime () const =0
 Returns the end time of the current object. More...
 
virtual types::TraceTime getDuration () const
 Returns the duration of the current object. More...
 

Protected Member Functions

 NonBlockingP2PCommunicationEvent (const otf2::chrono::duration &start, const otf2::chrono::duration &end, otf2::definition::location *location, types::communicator *communicator)
 

Protected Attributes

otf2::chrono::duration start
 
otf2::chrono::duration end
 
otf2::definition::location * location
 
types::communicator * communicator
 

Detailed Description

Class representing non blocking events in point to point communications like MPI_ISEND, MPI_IRECEIVE.

This class bundles common functionality for these types of events and should be used as a base class and not instantiated directly.

Definition at line 33 of file NonBlockingP2PCommunicationEvent.hpp.

Constructor & Destructor Documentation

◆ NonBlockingP2PCommunicationEvent()

NonBlockingP2PCommunicationEvent::NonBlockingP2PCommunicationEvent ( const otf2::chrono::duration &  start,
const otf2::chrono::duration &  end,
otf2::definition::location *  location,
types::communicator *  communicator 
)
protected

Creates a new instance of the abstract NonBlockingP2PCommunicationEvent class.

Parameters
startStart time of the event
endEnd time of the event
locationLocation of the event
communicatorCommunicator the event took place in

Definition at line 23 of file NonBlockingP2PCommunicationEvent.cpp.

Member Function Documentation

◆ getCommunicator()

types::communicator * NonBlockingP2PCommunicationEvent::getCommunicator ( ) const
overridevirtual

Gets the communicator the recorded event took place in.

Returns
Communicator of the event

Implements CommunicationEvent.

Definition at line 41 of file NonBlockingP2PCommunicationEvent.cpp.

◆ getEndTime()

otf2::chrono::duration NonBlockingP2PCommunicationEvent::getEndTime ( ) const
overridevirtual

Gets the end time of the recorded even. The time is relative to the star time of the program.

Returns
End time of the recorded event

Implements CommunicationEvent.

Definition at line 37 of file NonBlockingP2PCommunicationEvent.cpp.

◆ getLocation()

otf2::definition::location * NonBlockingP2PCommunicationEvent::getLocation ( ) const
overridevirtual

Gets the location of the recorded event.

Returns
Location of the recorded event

Implements CommunicationEvent.

Definition at line 29 of file NonBlockingP2PCommunicationEvent.cpp.

◆ getStartTime()

otf2::chrono::duration NonBlockingP2PCommunicationEvent::getStartTime ( ) const
overridevirtual

Gets the start time of the recorded event. The time is relative to the star time of the program.

Returns
Start time of the recorded event

Implements CommunicationEvent.

Definition at line 33 of file NonBlockingP2PCommunicationEvent.cpp.

Member Data Documentation

◆ communicator

types::communicator* NonBlockingP2PCommunicationEvent::communicator
protected

The communicator of the operation

Definition at line 49 of file NonBlockingP2PCommunicationEvent.hpp.

◆ end

otf2::chrono::duration NonBlockingP2PCommunicationEvent::end
protected

The time when the event ended

Definition at line 47 of file NonBlockingP2PCommunicationEvent.hpp.

◆ location

otf2::definition::location* NonBlockingP2PCommunicationEvent::location
protected

The location of the event

Definition at line 48 of file NonBlockingP2PCommunicationEvent.hpp.

◆ start

otf2::chrono::duration NonBlockingP2PCommunicationEvent::start
protected

The time when the event started

Definition at line 46 of file NonBlockingP2PCommunicationEvent.hpp.


The documentation for this class was generated from the following files: