check transfer  0.1
Check data transfer for SDAccell OpenCL application
Classes | Typedefs | Functions
exceptinfo.h File Reference
#include <string>

Go to the source code of this file.

Classes

struct  _except_info_t
 

Typedefs

typedef struct _except_info_t except_info_t
 

Functions

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

Typedef Documentation

◆ except_info_t

typedef struct _except_info_t except_info_t

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