malloclab start

This commit is contained in:
2025-05-21 14:41:01 +08:00
parent 1b0b28f910
commit 4c3ef87f66
81 changed files with 1238155 additions and 0 deletions

10
malloclab/clock.h Normal file
View File

@@ -0,0 +1,10 @@
/* Routines for using cycle counter */
/* Start the counter */
void start_counter(void);
/* Get # cycles since counter started */
double get_counter(void);
double mhz(int verbose);
void make_CPU_busy(void);