Discussion:
[gem5-users] Fix periods in gem5 cache
Muhammad Avais
2018-08-13 05:13:17 UTC
Permalink
Dear all,

I want to adjust associativity of cache after fix
periods of time. Can anyone suggest how can i decide time in gem5.

Best Regards,
Thanks,
Avais
Parmida Vahdatnia
2018-08-13 05:28:48 UTC
Permalink
I usually use the combination of the getTick() function and ifs in the
code, there is also a sleep function but I don't know if that's what you
want.
Post by Muhammad Avais
Dear all,
I want to adjust associativity of cache after fix
periods of time. Can anyone suggest how can i decide time in gem5.
Best Regards,
Thanks,
Avais
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Muhammad Avais
2018-08-13 07:10:48 UTC
Permalink
Dear Parmida,

Many thanks for your reply. "ifs" mean If statement in C or is
something else.

Best Regartds,
Avais

On Mon, Aug 13, 2018 at 2:28 PM, Parmida Vahdatnia <
Post by Parmida Vahdatnia
I usually use the combination of the getTick() function and ifs in the
code, there is also a sleep function but I don't know if that's what you
want.
Post by Muhammad Avais
Dear all,
I want to adjust associativity of cache after fix
periods of time. Can anyone suggest how can i decide time in gem5.
Best Regards,
Thanks,
Avais
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Parmida Vahdatnia
2018-08-13 07:30:14 UTC
Permalink
Yes the if statements in the code, sorry if it was confusing.
But I have used them in python and in the se.py and garnet_synth_traffic.py
codes, although I have not done exactly what you are trying to do.
Regards
Parmida
Post by Muhammad Avais
Dear Parmida,
Many thanks for your reply. "ifs" mean If statement in C or is
something else.
Best Regartds,
Avais
On Mon, Aug 13, 2018 at 2:28 PM, Parmida Vahdatnia <
Post by Parmida Vahdatnia
I usually use the combination of the getTick() function and ifs in the
code, there is also a sleep function but I don't know if that's what you
want.
Post by Muhammad Avais
Dear all,
I want to adjust associativity of cache after fix
periods of time. Can anyone suggest how can i decide time in gem5.
Best Regards,
Thanks,
Avais
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Muhammad Avais
2018-08-14 09:06:45 UTC
Permalink
Dear Parmidra,

I am thankful to you for this help. I am not good in gem5 and feel
difficult to learn it.

Best Regards,
Avais

On Mon, Aug 13, 2018 at 4:30 PM, Parmida Vahdatnia <
Post by Parmida Vahdatnia
Yes the if statements in the code, sorry if it was confusing.
But I have used them in python and in the se.py and
garnet_synth_traffic.py codes, although I have not done exactly what you
are trying to do.
Regards
Parmida
Post by Muhammad Avais
Dear Parmida,
Many thanks for your reply. "ifs" mean If statement in C or is
something else.
Best Regartds,
Avais
On Mon, Aug 13, 2018 at 2:28 PM, Parmida Vahdatnia <
Post by Parmida Vahdatnia
I usually use the combination of the getTick() function and ifs in the
code, there is also a sleep function but I don't know if that's what you
want.
Post by Muhammad Avais
Dear all,
I want to adjust associativity of cache after fix
periods of time. Can anyone suggest how can i decide time in gem5.
Best Regards,
Thanks,
Avais
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Loading...