예제 #1
0
void ztrace_print_cont(const char * fmt, ... )
{
  if(ztrace_fp)
  {
    va_list v;
    va_start(v, fmt);

    myvfprintf(ztrace_fp, fmt, v);
  }
}
예제 #2
0
void ztrace_print_finish(const char * fmt, ... )
{
  if(ztrace_fp)
  {
    va_list v;
    va_start(v, fmt);

    myvfprintf(ztrace_fp, fmt, v);
    fprintf(ztrace_fp,"\n");
  }
}
예제 #3
0
void ztrace_print_start(const struct uop_t * uop, const char * fmt, ... )
{
  if(ztrace_fp)
  {
    va_list v;
    va_start(v, fmt);

    ztrace_uop_ID(uop);
    myvfprintf(ztrace_fp, fmt, v);
  }
}
예제 #4
0
void ztrace_print(const char * fmt, ... )
{
  if(ztrace_fp)
  {
    va_list v;
    va_start(v, fmt);

//    fprintf(ztrace_fp,"%lld|",sim_cycle);
    myvfprintf(ztrace_fp, fmt, v);
    fprintf(ztrace_fp,"\n");
  }
}
예제 #5
0
void ztrace_print(const struct Mop_t * Mop, const char * fmt, ... )
{
  if(ztrace_fp)
  {
    va_list v;
    va_start(v, fmt);

    ztrace_Mop_ID(Mop);
    myvfprintf(ztrace_fp, fmt, v);
    fprintf(ztrace_fp,"\n");
  }
}
예제 #6
0
int myvprintf(const char *fmt, va_list args) {
    return myvfprintf(fmt, args);
}