cavatools: initialize repository
[cavatools.git] / pipesim / trace_pipe.c
1 /*
2 Copyright (c) 2020 Peter Hsu. All Rights Reserved. See LICENCE file for details.
3 */
4
5 #include <stdint.h>
6 #include <stdlib.h>
7 #include <stdio.h>
8 #include <assert.h>
9 #include <string.h>
10 #include <time.h>
11
12 #include "caveat.h"
13 #include "opcodes.h"
14 #include "insn.h"
15 #include "shmfifo.h"
16 #include "cache.h"
17 //#include "perfctr.h"
18 #include "pipesim.h"
19
20
21 void trace_pipe(long next_report, long (*model_dcache)(long tr, const struct insn_t* p, long available))
22
23 #define TRACE
24 #include "mainloop.h"