moc_message_envelope_struct Struct Reference
[Implementation-Core]

#include <imoc_core.h>

Collaboration diagram for moc_message_envelope_struct:

Collaboration graph
[legend]

Detailed Description

Message-envelope structure.

Is used to store meta-data about the message in the message-queues of the receiving process.

Definition at line 76 of file imoc_core.h.


Data Fields

uint8_t id
 Message-ID.
uint8_t tag
 Message-tag.
uint8_t communicator
 Communicator of message.
union {
   struct {
      unsigned int   valid: 1
 Is the message valid?
      unsigned int   signal_back: 1
 Should the status be reported back to the sending process.
      unsigned int   special: 1
 Is this message a special message?
      unsigned int   collaborative: 1
 Is this message part of a collaborative communication?
      unsigned int   channel: 2
 Which channel is used to transport the message?
      unsigned int   in_mm: 1
 Are the data in Main-Memory?
      unsigned int   keep_valid: 1
 Should the message-status-entry be invalidated?
   }   bits
 flag-struct
   uint8_t   value
 union-value
} flags
 flag-union
unsigned int size: 24
 Message-size in byte.
unsigned int datatype: 8
 Data-type of message-entries.
uint64_t message_address
 Effective address of message-data.

Field Documentation

Message-ID.

Also index of message-status-array

Definition at line 78 of file imoc_core.h.

Referenced by MOC_Iprobe(), MOC_Probe(), and MOC_Recv().

Message-tag.

Definition at line 79 of file imoc_core.h.

Referenced by IMOC_get_entry(), MOC_Iprobe(), and MOC_Probe().

Communicator of message.

Definition at line 80 of file imoc_core.h.

Referenced by IMOC_get_entry().

Is the message valid?

Definition at line 85 of file imoc_core.h.

Should the status be reported back to the sending process.

Definition at line 86 of file imoc_core.h.

Is this message a special message?

Definition at line 88 of file imoc_core.h.

Is this message part of a collaborative communication?

Definition at line 89 of file imoc_core.h.

Which channel is used to transport the message?

Definition at line 91 of file imoc_core.h.

Are the data in Main-Memory?

Definition at line 92 of file imoc_core.h.

Should the message-status-entry be invalidated?

Definition at line 93 of file imoc_core.h.

flag-struct

Referenced by IMOC_get_entry(), IMOC_getFreeEntry(), and MOC_Recv().

union-value

Definition at line 95 of file imoc_core.h.

Referenced by MOC_Barrier(), and MOC_Recv().

flag-union

Referenced by IMOC_get_entry(), MOC_Barrier(), and MOC_Recv().

Message-size in byte.

Definition at line 97 of file imoc_core.h.

Referenced by MOC_Iprobe(), MOC_Probe(), and MOC_Recv().

Data-type of message-entries.

Definition at line 98 of file imoc_core.h.

Referenced by MOC_Recv().

Effective address of message-data.

Definition at line 99 of file imoc_core.h.

Referenced by MOC_Recv().


The documentation for this struct was generated from the following file:

Generated on Thu Feb 12 13:51:19 2009 for MPI On Cell (Documentation) by  doxygen 1.5.6