[gem5-users] About gem5 stats granularity

2024-01-12 Thread elio.vinciguerra--- via gem5-users
Hi everybody, I should have the statistics provided by gem5 in stats.txt with an instruction level granularity. I noticed that by default gem5 provides them global, from the beginning of execution to the end. Is it possible to change this behavior and somehow get the stats for each simulated

[gem5-users] Re: About gem5 stats granularity

2024-01-12 Thread elio.vinciguerra--- via gem5-users
In general I would be interested in getting as many metrics as possible, I saw that stats.txt is very in-depth, in particular stats regarding Instruction and Data TLB miss, Data cache miss and writeback, instruction cache miss, floating point and integer multiplication interlock, pipeline flush

[gem5-users] Re: About gem5 stats granularity

2024-01-12 Thread elio.vinciguerra--- via gem5-users
I should collect this information in order to train a neural network, so I should have a large dataset made of various simulations. Training the network with all those informations, instruction after instruction (or periodically, with a time slot), should result in good performance.

[gem5-users] How to suspend FS simulation after certain number of ticks

2024-01-16 Thread elio.vinciguerra--- via gem5-users
Hi all, I would need to suspend the FS simulation after a certain number of ticks, and then have it resume normally. I know that for SE mode this is feasible by inserting `m5.simulate()` in a loop and passing as an argument to the same function the number of ticks it should simulate. Is there

[gem5-users] Re: How to suspend FS simulation after certain number of ticks

2024-01-16 Thread elio.vinciguerra--- via gem5-users
Or, at least, I would need to do it in such a way as to have the historical progression of the "stats.txt" file during the simulation. So I need to suspend the simulation at a certain tick, get the "stats.txt" file, resume the simulation, or I need a solution that allows me to dump at a certain

[gem5-users] gem5 Fault Injector tool?

2024-01-17 Thread elio.vinciguerra--- via gem5-users
Hello everyone, I am looking for a valid and working Fault Injector for gem5 with RISCV ISA for Full System simulation, which supports transient and permanent faults. Regarding the type of faults I have no stringent constraints, for sure I need software level faults (register faults, memory

[gem5-users] Full System emulation using bare metal option

2024-01-08 Thread elio.vinciguerra--- via gem5-users
Hi everyone, I would need to run a simulation of gem5 in Full System emulation with RISCV architecture with a simple C program. I therefore tried to use the --bare-metal option. So, I tried to run the following command: `./gem5/build/RISCV/gem5.opt ./gem5/configs/example/riscv/fs_linux.py

[gem5-users] About simulating simple C program in gem5 FS mode

2024-02-01 Thread elio.vinciguerra--- via gem5-users
Hi all, I am looking for a way to emulate with gem5 in FS (Full System) mode simple C executables, compiled in RISC-V, even containing a single infinite while loop. Could someone please point me to how to do this? ___ gem5-users mailing list --

[gem5-users] Re: About simulating simple C program in gem5 FS mode

2024-02-01 Thread elio.vinciguerra--- via gem5-users
Is it possible to simulate with only the C program, without linux underneath? I recently saw that you should use the bare-metal option, but I don't really understand how to use it. Elio ___ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe