Skip to content

Commit

Permalink
ml_timeline record json file add more info (Xilinx#8570)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xlnx78115 authored Oct 25, 2024
1 parent bcdf348 commit 904f92a
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,14 @@ namespace xdp {

boost::property_tree::ptree ptSchema;
ptSchema.put("major", "1");
ptSchema.put("minor", "0");
ptSchema.put("minor", "1");
ptSchema.put("patch", "0");
ptHeader.add_child("schema_version", ptSchema);
ptHeader.put("device", "Client");
ptHeader.put("clock_freq_MHz", 1000);
ptHeader.put("id_size", sizeof(uint32_t));
ptHeader.put("cycle_size", 2*sizeof(uint32_t));
ptHeader.put("buffer_size", mBufSz);
ptTop.add_child("header", ptHeader);

// Record Timer TS in JSON
Expand Down

0 comments on commit 904f92a

Please sign in to comment.