Print all information

This commit is contained in:
Dr-Noob
2018-03-29 23:27:59 +02:00
parent 4ebcfbeed3
commit 978f283e1a
10 changed files with 409 additions and 15 deletions

4
02h.c
View File

@@ -359,7 +359,7 @@ struct level2* fillLevel2(struct level2* data) {
return data;
}
void debugCache(struct cache* cach) {
void debugCachex(struct cache* cach) {
printf("L1d=%d\n", cach->L1d);
printf("L1i=%d\n", cach->L1i);
printf("L2=%d\n", cach->L2);
@@ -372,7 +372,7 @@ void debugTLB(struct TLB* tlb) {
}
void debugLevel2(struct level2* data) {
debugCache(data->cache);
debugCachex(data->cache);
debugTLB(data->tlb);
}