mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-24 15:25:00 +08:00
[svn-r10659] Purpose:
Optimization Description: removed an unncessary memset call. Solution: Platforms tested: heping (pp), sol (pp) Misc. update:
This commit is contained in:
parent
0ae785b76b
commit
b3c8b2f846
@ -59,8 +59,8 @@ void parallel_print(const char* format, ...)
|
||||
if((bytes_written+1) == (OUTBUFF_SIZE-outBuffOffset))
|
||||
#endif
|
||||
{
|
||||
/* Delete the characters that were written to outBuff since they will be written to the overflow_file */
|
||||
memset(outBuff+outBuffOffset, 0, OUTBUFF_SIZE - outBuffOffset);
|
||||
/* Terminate the outbuff at the end of the previous output */
|
||||
outBuff[outBuffOffset] = '\0';
|
||||
|
||||
overflow_file = HDtmpfile();
|
||||
if(overflow_file == NULL)
|
||||
|
@ -15,7 +15,6 @@
|
||||
#ifndef _PH5DIFF_H__
|
||||
#define _PH5DIFF_H__
|
||||
|
||||
|
||||
#define PRINT_DATA_MAX_SIZE 512
|
||||
#define OUTBUFF_SIZE PRINT_DATA_MAX_SIZE*4
|
||||
/* Send from manager to workers */
|
||||
|
Loading…
Reference in New Issue
Block a user