Qiuyun, The event queue is emptied each time it is clocked. You can't just add bogus events in order to create a delay... it won't work. See: https://github.com/avadhpatel/marss/blob/master/ptlsim/cache/memoryHierarchy.cpp#L101
We don't have a function that adds n-cycle delays in the manner that you wish (unless the event isn't in the queue yet, in which you can just insert the event into the queue with delay += 2). We currently handle delays by simulating the interconnects and controllers as full and busy, respectively. Tyler > Thank you very much Tyler. > > Do you have any idea about which function call can be used to add n-cycle > delays? I tried adding another event by using marss_add_event(delays). The > simulation doesn't actually delay. > > Thanks! > > --Qiuyun > > On Sun, May 26, 2013 at 4:19 PM, <[email protected]> wrote: > >> You have two options: >> >> If you don't want to modify the timing parameters for DRAMSim2, you >> could >> just add an n-cycle delay on each LLC miss within the MARSS framework. >> >> Tyler >> >> > Hello, >> > >> > I am running Marss with DRAMSim2. I am trying to add additional delays >> to >> > every memory access. I know that you could achieve that by changing >> > DRAMSim2 timing parameters. However, I would like to add that delay >> > directly to Marss part when it returns from DRAMSim2 memory function >> > calls. >> > >> > Does anybody know how could I add it? >> > >> > Thank you in advance for your response. >> > >> > Best, >> > --Qiuyun >> > *********************** >> > _______________________________________________ >> > http://www.marss86.org >> > Marss86-Devel mailing list >> > [email protected] >> > https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel >> > >> >> >> > > > -- > *********************** > Qiuyun Wang > Hudson 213, > Electrical and Computer Engineering Department, > Duke University > M.S. University Paris-Sud XI > _______________________________________________ http://www.marss86.org Marss86-Devel mailing list [email protected] https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
