N-sim
Emulation and simulation of
Wireless Sensor Networks



   Home


   Project Page


   Download


   CVS



   Installation


   Configuration


   Plug-ins




 Hosted by
SourceForge.net Logo

/home/brennan/n-sim/OrbisQuartus/server/virtual_time-internal.h File Reference

Virtual Time implementation. More...

#include "orbisquartus.h"

Go to the source code of this file.

Functions

void virtual_time_init (OrbisQuartus *orbis)
void virtual_time_iterate (void)
char * vt_recv (struct netconn *sock, int len)
int vt_send (int dest, struct netconn *sock, char *buf, int len)


Detailed Description

Virtual Time implementation.

Revision
1.4

Original Author: Sean M. Brennan <brennan@lanl.gov>

Author
sean_m_brennan

Created: October 23, 2006

Date
2007/10/11 17:13:29

Definition in file virtual_time-internal.h.


Function Documentation

void virtual_time_init OrbisQuartus orbis  ) 
 

Definition at line 130 of file virtual_time-l4.cpp.

References oq, and OrbisQuartus::vt_thread.

void virtual_time_iterate void   ) 
 

Definition at line 148 of file virtual_time.cpp.

References VT_timestamp::tick().

Referenced by OrbisQuartus::iterate().

char* vt_recv struct netconn *  sock,
int  len
 

Definition at line 54 of file virtual_time-l4.cpp.

References VT_message::compare(), global_virtual_time(), local_virtual_time(), MPI_MSG_LEN, VT_message::rvt(), send_queue, VT_message::string_len(), and vt_send().

Referenced by MPI_Irecv(), and MPI_Recv().

int vt_send int  dest,
struct netconn *  sock,
char *  buf,
int  len
 

Definition at line 103 of file virtual_time-l4.cpp.

References error, VT_message::msg_sign, NEGATIVE, send_queue, and VT_message::to_string().

Referenced by MPI_Bcast(), MPI_Isend(), MPI_Send(), and vt_recv().


© 2007, Los Alamos National Security, LLC.