I would suggest to have a look at: https://developers.google.com/protocol-buffers/
Andreas On 07/10/2014 14:25, "senni sophiane" <sophiane.se...@gmail.com> wrote: >Hi Andreas, > >I just want to get cache bandwidth values to see how it changes over >time. For instance, I want to get for both reads and writes the >bandwidth value every ms from the beginning to the end of the execution >time. >But I need to know how are exactly the protobuf messages to extract >correctly these values. > >Cordialement / Best Regards > >SENNI Sophiane >Ph.D. candidate - Microelectronics >LIRMM - www.lirmm.fr > >Le 07/10/2014 15:07, Andreas Hansson a écrit : >> Hi Sophiane, >> >> What is it you want to do with the trace? I would suggest to implement >> what ever it is you want to do in C++ or Python and operate directly on >> the Protobuf Messages in the trace. >> >> Andreas >> >> On 07/10/2014 14:06, "senni sophiane via gem5-users" >><gem5-users@gem5.org> >> wrote: >> >>> Hi all, >>> >>> I managed to instantiate a CommMonitor between tol2bus and L2 cache >>> modifying the CachesConfig.py as follows : >>> >>> system.L2monitor = CommMonitor(trace_file = "L2_trace_tr.tr") >>> system.tol2bus.master = system.L2monitor.slave >>> #system.l2.cpu_side = system.tol2bus.master >>> system.l2.cpu_side = system.L2monitor.master >>> >>> I got the generated traces in m5out folder in L2_trace_tr.tr file >>> However, I cannot read the file because it is encoded. >>> I used the decode_packet_trace.py to have an ASCII trace format. But I >>> learned this ASCII trace format actually does not contain all >>> information contained in L2_trace_tr.tr. >>> >>> Does someone managed to read out all information contained in the >>> encoded traces ? >>> >>> Thanks for your help. >>> >>> -- >>> Cordialement / Best Regards >>> >>> SENNI Sophiane >>> Ph.D. candidate - Microelectronics >>> LIRMM - www.lirmm.fr >>> >>> _______________________________________________ >>> gem5-users mailing list >>> gem5-users@gem5.org >>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >>> >> >> -- IMPORTANT NOTICE: The contents of this email and any attachments are >>confidential and may also be privileged. If you are not the intended >>recipient, please notify the sender immediately and do not disclose the >>contents to any other person, use it for any purpose, or store or copy >>the information in any medium. Thank you. >> >> ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, >>Registered in England & Wales, Company No: 2557590 >> ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 >>9NJ, Registered in England & Wales, Company No: 2548782 >> > > -- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2557590 ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2548782 _______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users