Bug #45 ยป 0001-stats-invalid-month-bug.-Bug-45.patch
src/counters.c | ||
---|---|---|
fprintf(sc_perf_op_ctx->fp, "----------------------------------------------"
|
||
"---------------------\n");
|
||
fprintf(sc_perf_op_ctx->fp, "%" PRId32 "/%" PRId32 "/%04d -- %02d:%02d:%02d\n",
|
||
tms->tm_mday, tms->tm_mon, tms->tm_year + 1900, tms->tm_hour,
|
||
tms->tm_min, tms->tm_sec);
|
||
//fprintf(sc_perf_op_ctx->fp, "%" PRId32 "/%" PRId32 "/%04d -- %02d:%02d:%02d\n",
|
||
// tms->tm_mday, tms->tm_mon + 1, tms->tm_year + 1900, tms->tm_hour,
|
||
// tms->tm_min, tms->tm_sec);
|
||
fprintf(sc_perf_op_ctx->fp, "%s", asctime(tms));
|
||
fprintf(sc_perf_op_ctx->fp, "----------------------------------------------"
|
||
"---------------------\n");
|
||
fprintf(sc_perf_op_ctx->fp, "%-25s | %-25s | %-s\n", "Counter", "TM Name",
|