qlmpi: add testcase to qlmpi (rusage for swap)

This commit is contained in:
Ken Sato
2017-08-31 15:43:28 +09:00
parent 4b3f220659
commit f4c32e5507
32 changed files with 2953 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
/*
* aal_host.h
*
* Created on: 2011/08/09
* Author: simin
*/
#ifndef AAL_HOST_H_
#define AAL_HOST_H_
#define MAX_DEVNO 2
extern int aal_host_init();
extern int aal_host_dev_init(int dev_no);
extern void* aal_host_mem_alloc(int dev_no, int size);
extern void aal_host_mem_free(void * addr, int size);
extern int aal_host_dev_exit(int dev_no);
extern int aal_host_exit();
extern void* aal_host_mem_va2pa(int dev_no, void *virtual_addr);
#endif /* AAL_HOST_H_ */