• Home
  • Raw
  • Download

Lines Matching refs:trace_exc

33 TraceExc trace_exc;  variable
367 trace_exc.filename = fname; in create_trace_exc()
374 trace_exc.fstream = fstream; in create_trace_exc()
375 trace_exc.compressed_ptr = trace_exc.compressed; in create_trace_exc()
376 trace_exc.high_water_ptr = &trace_exc.compressed[kCompressedSize] - kMaxExcCompressed; in create_trace_exc()
377 trace_exc.prev_time = 0; in create_trace_exc()
378 trace_exc.prev_bb_recnum = 0; in create_trace_exc()
701 if (trace_exc.fstream) { in trace_cleanup()
702 uint32_t size = trace_exc.compressed_ptr - trace_exc.compressed; in trace_cleanup()
704 fwrite(trace_exc.compressed, sizeof(char), size, in trace_cleanup()
705 trace_exc.fstream); in trace_cleanup()
711 fwrite(&zeros, 7, 1, trace_exc.fstream); in trace_cleanup()
712 fclose(trace_exc.fstream); in trace_cleanup()
1382 if (trace_exc.fstream == NULL) in trace_exception()
1399 char *comp_ptr = trace_exc.compressed_ptr; in trace_exception()
1400 if (comp_ptr >= trace_exc.high_water_ptr) { in trace_exception()
1401 uint32_t size = comp_ptr - trace_exc.compressed; in trace_exception()
1402 fwrite(trace_exc.compressed, sizeof(char), size, trace_exc.fstream); in trace_exception()
1403 comp_ptr = trace_exc.compressed; in trace_exception()
1405 uint64_t time_diff = sim_time - trace_exc.prev_time; in trace_exception()
1406 trace_exc.prev_time = sim_time; in trace_exception()
1407 uint64_t bb_recnum_diff = trace_bb.recnum - trace_exc.prev_bb_recnum; in trace_exception()
1408 trace_exc.prev_bb_recnum = trace_bb.recnum; in trace_exception()
1416 trace_exc.compressed_ptr = comp_ptr; in trace_exception()