Skip to content

Commit

Permalink
Static hostname: dracacys-virtual-machine
Browse files Browse the repository at this point in the history
       Icon name: computer-vm
         Chassis: vm
      Machine ID: 06448809b4a442e295fea969dd4fff1e
         Boot ID: 02ca997c9a2a4e1bb6331063462358c0
  Virtualization: vmware
Operating System: Ubuntu 22.04.3 LTS
          Kernel: Linux 6.2.0-39-generic
    Architecture: x86-64
 Hardware Vendor: VMware, Inc.
  Hardware Model: VMware Virtual Platform
 19:37:51 up  3:33,  1 user,  load average: 1.00, 0.82, 0.69
  • Loading branch information
tracer-nju authored and vhagor committed Dec 26, 2023
1 parent bf9dc8d commit 7ce6651
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cachesim/cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @Author: Juqi Li @ NJU
* @Date: 2023-12-26 17:26:04
* @Last Modified by: Juqi Li @ NJU
* @Last Modified time: 2023-12-26 19:37:20
* @Last Modified time: 2023-12-26 19:37:47
*/

#include "common.h"
Expand Down Expand Up @@ -129,7 +129,7 @@ void init_cache(int total_size_width, int associativity_width) {
assert(cache_mem);
// reset valid
memset(cache_mem, false, sizeof(cache_row) * cache_row_num);
printf("cache asso_width = %d, cache_group_width = %d, cache_row_num = %d\n", asso_width, cache_group_width, cache_row_num);
printf("cache asso_width = %d, cache_group_width = %d, cache_row_num = %d\n", asso_width, cache_group_width, (uint32_t)cache_row_num);
return;
}

Expand Down

0 comments on commit 7ce6651

Please sign in to comment.