check transfer
0.1
Check data transfer for SDAccell OpenCL application
|
Go to the source code of this file.
Functions | |
int | GetFromCommnadLine (int argc, char **argv, const char *name, int defValue) |
Get integer value from command line. More... | |
int | GetStrFromCommnadLine (int argc, char **argv, const char *name, char *defValue, char *dst, int dstLen) |
Get string value from command line. More... | |
int GetFromCommnadLine | ( | int | argc, |
char ** | argv, | ||
const char * | name, | ||
int | defValue | ||
) |
Get integer value from command line.
format command line: <name1> <value1> <name2> <value2>
argc | number of argument |
argv | pointers to arguments |
name | key of argument |
defValue | default value for arguments |
Definition at line 29 of file parse_cmd.cpp.
Referenced by main(), TF_CheckTransferIn::TF_CheckTransferIn(), and TF_CheckTransferOut::TF_CheckTransferOut().
int GetStrFromCommnadLine | ( | int | argc, |
char ** | argv, | ||
const char * | name, | ||
char * | defValue, | ||
char * | dst, | ||
int | dstLen | ||
) |
Get string value from command line.
format command line: <name1> <text1> <name2> <text2>
argc | number of argument |
argv | pointers to arguments |
name | key of argument |
defValue | default value for arguments |
dst | pointer to destination string, NULL - do not copy |
dstLen | max number of chars in the dst |
Definition at line 58 of file parse_cmd.cpp.
Referenced by TF_Device::TF_Device().