Skip to content
Snippets Groups Projects
Commit d63f26e0 authored by Deike Kleberg's avatar Deike Kleberg
Browse files

Put arg nmiss to databuffer.

parent 4eba98f3
No related branches found
No related tags found
No related merge requests found
......@@ -499,6 +499,7 @@ void pioBufferData ( int streamIDarg, int varIDarg, const double *data, int nmis
modelWinBufferPutAtEnd ( __func__, collID, &streamID , sizeof ( streamID ));
modelWinBufferPutAtEnd ( __func__, collID, &varID , sizeof ( varID ));
modelWinBufferPutAtEnd ( __func__, collID, data , chunk * sizeof ( double ));
modelWinBufferPutAtEnd ( __func__, collID, &nmiss , sizeof ( nmiss ));
modelWinBufferPutAtEnd ( __func__, collID, &tokenSep , sizeof ( tokenSep ));
}
......
......@@ -35,7 +35,7 @@ enum
enum
{
winBufferOverhead = 1,
winBufferOverheadChunk = 4,
winBufferOverheadChunk = 5,
winBufferOverheadFuncCall = 3,
MAXWINBUFFERSIZE = 128 * 1024,
timestepSize = 3
......
......@@ -300,6 +300,8 @@ void readGetBuffers ( int tsID, int vdate, int vtime )
getBufferGetFromEnd ( __func__, __LINE__,
modelID, dataHead, chunk * sizeof ( double ));
dataHead += chunk;
getBufferGetFromEnd ( __func__, __LINE__,
modelID, &nmiss , sizeof ( nmiss ));
getBufferGetFromEnd ( __func__, __LINE__,
modelID, &tokenID2, sizeof ( tokenID2 ));
xassert ( tokenID2 == SEPARATOR );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment