check transfer  0.1
Check data transfer for SDAccell OpenCL application
Functions
exceptinfo.cpp File Reference
#include "exceptinfo.h"
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <signal.h>

Go to the source code of this file.

Functions

except_info_t except_info (const char *fmt,...)
 

Function Documentation

◆ except_info()

except_info_t except_info ( const char *  fmt,
  ... 
)

Definition at line 25 of file exceptinfo.cpp.

References _except_info_t::info.

Referenced by TF_TestThread::Prepare(), TF_CheckTransferIn::PrepareInThread(), and TF_CheckTransferOut::PrepareInThread().

26 {
27  except_info_t err;
28  va_list argptr;
29  va_start(argptr, fmt);
30  char msg[256];
31  vsprintf(msg, fmt, argptr);
32  err.info = msg;
33  return err;
34 }
std::string info
Definition: exceptinfo.h:8