Skip to content
Snippets Groups Projects
Commit 65ae3d1f authored by Daniel Friesel's avatar Daniel Friesel
Browse files

ptalog: dump trace id

parent 37b9b0ae
No related branches found
No related tags found
No related merge requests found
...@@ -66,9 +66,9 @@ class PTALog { ...@@ -66,9 +66,9 @@ class PTALog {
kout << "[PTA] benchmark stop" << endl; kout << "[PTA] benchmark stop" << endl;
} }
void dump() void dump(uint16_t trace_id)
{ {
kout << "[PTA] trace, count=" << dec << log_index << endl; kout << "[PTA] trace=" << dec << trace_id << ", count=" << log_index << endl;
for (uint8_t i = 0; i < log_index; i++) { for (uint8_t i = 0; i < log_index; i++) {
#ifdef PTALOG_TIMING #ifdef PTALOG_TIMING
kout << "[PTA] transition=" << log[i].transition_id; kout << "[PTA] transition=" << log[i].transition_id;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment