/********************************************* UPC-IO Reference Implementation Synthetic perf cases This test is to stress test the number of opened file this I/O system can handle at a single time HPCL, The George Wasnington University Author: Yiyi Yao E-mail: yyy@gwu.edu *********************************************/ #include #include #include #define NUM 100 int main() { upc_file_t *fd[NUM]; struct upc_hint *hints; int i, j; if(!MYTHREAD) printf("upcio perf: test # of opened files with %d Threads\n", THREADS); hints=(struct upc_hint *)malloc(sizeof(struct upc_hint)); for(i=0; i