Main Page   Class Hierarchy   Compound List   File List   Compound Members  

perfmon.hxx

00001 /******************************************************************
00002  * CAVERNsoft
00003  * Copyright (C) 1994-2000 Electronic Visualization Laboratory,
00004  * all rights reserved
00005  * By Jason Leigh, Yong-joo Cho, Naveen Krishnaprasad, Chris Scharver,
00006  * Stuart Bailey, Atul Nayak, Shalini Venkataraman
00007  * University of Illinois at Chicago
00008  * 
00009  * This publication and its text and code may not be copied for commercial 
00010  * use without the express written permission of the University of Illinois
00011  * at Chicago.
00012  * The contributors disclaim any representation of warranty: use this
00013  * code at your own risk.
00014  * Direct questions, comments etc to cavern@evl.uic.edu
00015  ******************************************************************/
00016 
00017 /*This file has functions that are used for performance monitoring while using udp connections with the CAVERNnet_udp_c class 
00018 A header containing the timestamp is prepended while a message is sent and the header is unprepended when the message is read.
00019 
00020 Note:
00021 Instrumentation should be enabled on both the server and the client sides to turn on the performance monitoring
00022 */
00023  
00024 #ifndef _CAVERN_PERFMON
00025 #define _CAVERN_PERFMON
00026 
00028 int _cavern_getSizeOfPerformanceMonitoringHeader();
00029 
00031 void _cavern_prependPerformanceMonitoringHeader(char* newmsg, char* message, int length);
00032 
00034 char* _cavern_allocMemForPerformanceMonitoredMesg(int length, int * newlength);
00035 
00037 void _cavern_unprependPerformanceMonitoringHeader(double *remoteTimeStamp, double *inlatency, char* newmsg, int newlen,  char* message, int *ulen);
00038 
00039 
00040 #endif
00041 

Generated at Mon Jul 2 14:24:43 2001 for CAVERNsoft by doxygen1.2.8-20010617 written by Dimitri van Heesch, © 1997-2001