Hi Dan, No you typically cannot and if you added one to a sys call emulation system you'd need a way to map it into the virtual address space anyway. You can look at the manual to understand how to access it, but I'm guessing that the rpns m5op is actually what you're looking for and much higher resolution than most timers.
See http://www.gem5.org/M5ops Ali On Jan 21, 2013, at 3:37 PM, Daniel Lo <[email protected]> wrote: > > Ali Saidi <saidi <at> umich.edu> writes: > >> >> Hi Dan, >> >> The kernel uses the timer and it's not generally accessible from user space. >> >> Ali > > > Can I access it when running in system emulation mode? > > How does the kernel access it? > > ~Dan > > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
