Hello Everyone,

I am using gem5-19, I tested
"tests/test-progs/threads/bin/x86/linux/threads" application, when I run
the application using O3CPU and x86 using just one CPU, the application
prints a statement specified in its source file which is
"Validating...Success!"

The source file can be found in "tests/test-progs/threads/src/". The test
is written by "Jason Lowe-Power".

When I run using more than 1 o3cpu with the CLI (Command Line)

./build/X86/gem5.opt configs/example/se.py -c
tests/test-progs/threads/bin/x86/linux/threads --caches --l2cache
--cpu-type=DerivO3CPU *-n 2*

The application does not print "Validating...Success!".
My question is in the code, was the validation step performed?
In the code there is the line "delete[] threads;" just before cout <<
"Validating..." << flush;
I tried commenting  "delete[] threads;" and see the behavior, still
validating cout statement is not shown. Note that when I run the same code
on AtomicSimpleCPU with caches, validating cout statement can be seen.

Does anyone know about this behavior, if its an error, please let me know,
I can then submit the Jira Issue about it?


Best regards,

Abhishek
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to