00001 /***************************************************************************** 00002 * $Source: /cvsroot/charm/src/ck-perf/trace-recordreplay.h,v $ 00003 * $Author: jyothi $ 00004 * $Date: 2003-11-27 18:29:35 $ 00005 * $Revision: 2.1 $ 00006 *****************************************************************************/ 00007 00012 00013 #ifndef _RECORDREPLAY_H 00014 #define _RECORDREPLAY_H 00015 00016 #include <stdio.h> 00017 #include <errno.h> 00018 00019 #include "trace.h" 00020 #include "envelope.h" 00021 #include "register.h" 00022 #include "trace-common.h" 00023 00024 // initial bin size, time in seconds 00025 #define BIN_SIZE 0.001 00026 00027 #define MAX_MARKS 256 00028 00029 #define MAX_PHASES 10 00030 00031 00033 00036 class TraceRecordReplay : public Trace { 00037 int curevent; 00038 public: 00039 TraceRecordReplay(char **argv); 00040 void creation(envelope *e, int epIdx, int num=1); 00041 00042 void beginExecute(envelope *e); 00043 }; 00044 00045 #endif 00046
1.5.1