Thanks, Ciro. So, basically there is no m5_roi_begin() or m5_roi_end(), but we need to use m5_checkpoint() call, right?
Thanks for sharing your example code. Regards, Dong Wan Kim On Tue, Mar 6, 2018 at 4:30 AM, Ciro Santilli <ciro.santi...@gmail.com> wrote: > m5_roi_begin are to be defined and placed inside the program that you > are benchmarking, not in gem5 itself (although it would be a good idea > to put those stubs as a header file in gem5 if not already done?). > > There is an example of that at: > > - https://github.com/arm-university/arm-gem5-rsk/blob/ > aa3b51b175a0f3b6e75c9c856092ae0c8f2a7cdc/parsec_patches/ > xcompile-patch.diff#L189 > - https://github.com/arm-university/arm-gem5-rsk/blob/ > aa3b51b175a0f3b6e75c9c856092ae0c8f2a7cdc/parsec_patches/ > xcompile-patch.diff#L221 > > This implements PARSEC's, checkpoint stubs, which are already > implemented in PARSEC benchmark code. > > > On Mon, Mar 5, 2018 at 8:48 PM, David Kim <dkim.t...@gmail.com> wrote: > > Hello, > > > > I have a question to checkpoint gem5. > > > > According to the description at http://gem5.org/Checkpoints, we can > annotate > > gem5 to do checkpoint by adding m5_roi_begin() and m5_roi_end() to source > > code. Can anyone explain some more details about how to use them? > > > > After adding them to source code, I need something to compile code > (header > > file + library or some implementation, e.g. ptlcall.h in MARSSx86) but I > > could not find anything named m5_roi_begin or m5_roi_end in the entire > gem5 > > code. Googling m5_roi_begin does not give me some meaningful discussion > > about it. > > > > Thanks. > > > > Regards, > > Dong Wan Kim > > > > _______________________________________________ > > gem5-users mailing list > > gem5-users@gem5.org > > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users