Hi all, I am trying to set up a multicore environment where I have 1 core monitoring the stats file of another core. In order to do that, the monitoring core needs to access the stats file during simulation in FS mode. I have tried to open and read the stats file in the usual way (using a file pointer) but it was unable to do so. I understand the program was running from the disk image and hence, there is no way it could access files located outside the disk image. Is there any other way to obtain the stats from a running program?
I have also tried running two different programs where I set –n 2, but while it was able to run one program, there was an error ‘Permission denied’ when the other program was suppose to run. This was my command: elena@elena-VirtualBox:~/RTS/gemfi/Sim$ ./build/X86/gem5.opt -r -d sim_out --debug-flags=FaultInjection ./configs/example/fs.py --script=./configs/boot/fft.rcS;./configs/boot/monitor.rcS -n 2 --caches --fi-in=input Appreciate if anyone can tell me what went wrong. Thanks. Regards, Elena Woo
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
