| check transfer
    0.1
    Check data transfer for SDAccell OpenCL application | 
#include <stdio.h>#include <signal.h>#include <unistd.h>#include <assert.h>#include "ipc.h"#include "exceptinfo.h"#include "table_engine_console.h"#include "tf_checktransferout.h"#include "tf_checktransferin.h"#include "tf_device.h"#include "parse_cmd.h"Go to the source code of this file.
| Functions | |
| int | main (int argc, char **argv) | 
| Start point for host application.  More... | |
| void | signal_handler (int signo) | 
| Variables | |
| static volatile int | exit_flag = 0 | 
| int main | ( | int | argc, | 
| char ** | argv | ||
| ) | 
Start point for host application.
| argc | Number of arguments argv Pointer of argumnts | 
Arguments:
-mode <mode> : 1 - check input, 2 - check output, 3 - check input and output -table <flag_show> : 1 - show table, 0 - do not show table -time <time> : execution time [s],
-file <path> : fullpath for xclbin, default "../binary_container_1.xclbin"
TF_CheckTransferIn & TF_CheckTransferOut:
-size <n> : size block of kilobytes, default 64 -metric <n> : 0 - binary: 1MB=2^10=1024*1024=1048576 bytes,
Definition at line 54 of file main.cpp.
References TableEngine::CreateTable(), exit_flag, TableEngine::GetConsolePos(), GetFromCommnadLine(), TF_Test::GetResult(), _except_info_t::info, IPC_delay(), IPC_getch(), IPC_getTickCount(), IPC_kbhit(), TF_Test::isComplete(), TF_Test::Prepare(), TableEngine::SetConsolePos(), signal_handler(), TF_Test::Start(), TF_Test::StepMainThread(), TF_Test::StepTable(), and TF_Test::Stop().
| void signal_handler | ( | int | signo | ) | 
| 
 | static | 
Definition at line 19 of file main.cpp.
Referenced by main(), and signal_handler().
 1.8.13
 1.8.13