PSI update
r1464 | ffr | 2007-02-12 12:20:21 +1100 (Mon, 12 Feb 2007) | 2 lines
This commit is contained in:
committed by
Douglas Clowes
parent
634f2023b1
commit
3168325921
6
hmdata.w
6
hmdata.w
@@ -11,7 +11,7 @@ display clients gone mad. This task is also handled through this class.
|
||||
|
||||
In order to do this, the following data structure is needed:
|
||||
@d hmdatadat @{
|
||||
typedef struct {
|
||||
typedef struct __hmdata{
|
||||
int rank;
|
||||
int iDim[MAXDIM];
|
||||
int nTimeChan;
|
||||
@@ -21,6 +21,7 @@ In order to do this, the following data structure is needed:
|
||||
int updateIntervall;
|
||||
int updateFlag;
|
||||
HistInt *localBuffer;
|
||||
struct __hmdata *timeslave;
|
||||
} HMdata, *pHMdata;
|
||||
@}
|
||||
|
||||
@@ -52,6 +53,7 @@ The following functions work on this data structure:
|
||||
|
||||
long sumHMDataRectangle(pHistMem self, SConnection *pCon,
|
||||
int start[MAXDIM], int end[MAXDIM]);
|
||||
int loadHMData(pHMdata self, SConnection *pCon, char *filename);
|
||||
@}
|
||||
|
||||
\begin{description}
|
||||
@@ -83,6 +85,8 @@ the histogram memory and not from the buffer the next time round.
|
||||
pointer of HMdata. Use with extra care!
|
||||
\item[sumHMDataRectangle] sums a rectangular box delimted by start and end
|
||||
from the histogram memory.
|
||||
\item[loadHMData] loads histogram memory data from a file. This is for
|
||||
debugging purposes. The file must contain enough numbers to fill the HM.
|
||||
\end{description}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user