SWDEV-540648: Adding realtime clock to v3 tool. Update decoder header. (#666)

* SWDEV-540648: Adding realtime clock to v3 tool. Update header for decoder.

* Adding tests

* Review comments

* Review comment
This commit is contained in:
Giovanni Lenzi Baraldi
2025-09-10 12:39:27 +02:00
committato da GitHub
parent 4e9acd492d
commit 9849073836
18 ha cambiato i file con 193 aggiunte e 82 eliminazioni
@@ -81,10 +81,10 @@ OccupancyFile(const Fspath& dir,
std::stringstream ss;
try
{
ss << table->getSymbolMap(pc.marker_id).at(pc.addr).name;
ss << table->getSymbolMap(pc.code_object_id).at(pc.address).name;
} catch(std::exception& e)
{
ss << pc.marker_id << " / 0x" << std::hex << pc.addr << std::dec;
ss << pc.code_object_id << " / 0x" << std::hex << pc.address << std::dec;
}
jocc["dispatches"][std::to_string(id)] = ss.str();
}