Add test programs for ihk_os_getrusage()

This commit is contained in:
Masamichi Takagi
2017-09-20 19:48:32 +09:00
parent 47b4bd5aba
commit 4d9a1628f2
63 changed files with 6461 additions and 0 deletions

21
test/rusage/verbs/aal_host.h Executable file
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_ */