Any Suggestions ? I am using Timing-simple CPU. Regards, Digant Desai.
On Tue, Jun 7, 2011 at 16:55, Digant <digantde...@gmail.com> wrote: > > Thanks Jack for replying, > > I want to measure the cycles CPU takes to program DMA? More precisely, for > a DMA transaction,a processor is only involved in programming DMA's memory > mapped configuration registers. I would like to find out how many cycles are > spent by processor in all DMA registers programming and with in how many > cycles processor can switch to another thread. > And have DMA model running. > > Can I do that using M5 ? > > Regards, > Digant Desai. > > > > > On Tue, Jun 7, 2011 at 16:34, Jack Harvard <jack.harv...@gmail.com> wrote: > >> Not sure whether I entirely understand what you're trying to do there, but >> only one STR instruction is enough for programming one DMA register. >> >> >> On 4 Jun 2011, at 22:51, Digant wrote: >> >> > Hi all, >> > >> > I am working on ARM DMA with ARM_FS mode and a simple Linux device >> driver to read write DMA's memory mapped registers. >> > I want to count the number of instructions of CPU takes to program DMA >> Registers. >> > >> > can anybody tell me how I can do it. >> > >> > Regards, >> > Digant Desai. >> > >> > _______________________________________________ >> > gem5-users mailing list >> > gem5-users@m5sim.org >> > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >> >> _______________________________________________ >> gem5-users mailing list >> gem5-users@m5sim.org >> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >> > >
_______________________________________________ gem5-users mailing list gem5-users@m5sim.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users