I'm not very familiar with this, what is the full class name / location where it is used in the code?
On Mon, Oct 28, 2019 at 2:06 AM yuan <syu...@ncsu.edu> wrote: > > Thanks, Ciro. And do you know where is the cpu policy class are defined? > > > > Best regards. > > > > Yuan > > > > Sent from Mail for Windows 10 > > > > From: Ciro Santilli > Sent: Sunday, October 27, 2019 3:21 AM > To: gem5 users mailing list; yuan > Subject: Re: [gem5-users] Where is the different namespace defined in > CPUdirectory. > > > > gem5 uses a lot of code generation unfortunately, do a `grep -Ir > > THE_ISA` in the build directory to find them (ignores both symlinks > > and binary files). > > > > Then just git grep for keywords of the generated files and focus on > > Python matches, e.g. `git grep THE_ISA` leads to src/SConscript > > function `def makeTheISA`. > > > > On Sun, Oct 27, 2019 at 1:48 AM yuan <syu...@ncsu.edu> wrote: > > > > > > Hi, All, > > > > > > > > > > > > I am trying to read the code in src/cpu, I find that a lot namespace like > > TheISA are used in cpu code, but sometimes I can not find them. And also, I > > find some of them are defined in build/X86 directory after we build them. > > Does anyone knows some hints about where these namespace are defined and > > how the build/X86 code is generated when we build them. Or is there any > > documents about this part. > > > > > > > > > > > > Best regards. > > > > > > > > > > > > Yuan > > > > > > > > > > > > > > > > > > > > > > > > Sent from Mail for Windows 10 > > > > > > > > > > > > _______________________________________________ > > > gem5-users mailing list > > > gem5-users@gem5.org > > > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > > _______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users