MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / dumpRecordMetadata

Function dumpRecordMetadata

src/gui/fluxviewercontrol.cc:620–630  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

618}
619
620static void dumpRecordMetadata(
621 std::ostream& s, std::shared_ptr<const Record> record)
622{
623 s << fmt::format("Bytecode position: {}\n", record->position)
624 << fmt::format(
625 "Start: {:.2f}ms\n", record->startTime / 1000000.0)
626 << fmt::format(
627 "End: {:.2f}ms\n", record->endTime / 1000000.0)
628 << fmt::format(
629 "Data CRC16: {:4x}\n", crc16(CCITT_POLY, record->rawData));
630}
631
632void FluxViewerControl::DisplayDecodedData(std::shared_ptr<const Sector> sector)
633{

Callers 1

DisplayRawDataMethod · 0.85

Calls 1

crc16Function · 0.50

Tested by

no test coverage detected