mtn.h

来自「MPICH是MPI的重要研究,提供了一系列的接口函数,为并行计算的实现提供了编程」· C头文件 代码 · 共 81 行

H
81
字号
/*   Mountain-range view stuff for Upshot   Ed Karrels   Argonne National Laboratory*/#ifndef MTN_H#define MTN_H#include "heapsort.h"typedef struct mtnEvt_ {  double time;  int isStartEvt;  int stateNo;} mtnEvt;/* of the following structure:   canvasName, bg, outline, bw, width, height, xsc_t, xsc_w, xsc_f, xsc_l,   ysc_t, ysc_w, ysc_f, ysc_l, startTime, endTime   are linked to Tcl array elements.*/typedef struct mtnInfo_ {  Tcl_Interp *interp;		/* just in case */  logFile *log;  char *canvasName;		/* canvas that we'll draw on */  char *bg;			/* background color */  char *outline;		/* outline color */  int bw;			/* whether to draw in b&w */  char *array_name;		/* array name and index prefix used for */  char *idx_prefix;		/* linking this to a Tcl array */  double startTime, endTime;	/* copied from the logfile info */  int np;  double totalTime;		/* compute it once only */  double width;			/* size of the canvas */  double height;  int visWidth;			/* size of the canvas window */  int visHeight;  int lastVisWidth;		/* previous settings */  int lastVisHeight;  double xleft, xspan;		/* horizontal scroll info */  double lastXspan;  int xview;			/* leftmost visible x-coordinate */  double ytop, yspan;		/* vertical scroll info */  double lastYspan;  int yview;			/* leftmost visible y-coordinate */  heapList /*mtnEvt*/ evtHeap;	/* initial heap */  mtnEvt *evtList;		/* sorted list of start/stop events */  int nevents;			/* # of events */} mtnInfo;#ifdef __STDC__int Mtn_Init( Tcl_Interp *interp );#elseint Mtn_Init();#endif#endif/* MTN_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?