projects
/
cavatools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
cavatools: initialize repository
[cavatools.git]
/
pipesim
/
trace_count_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
void
trace_count_pipe
(
long
next_report
,
long
(*
model_dcache
)(
long
tr
,
const struct
insn_t
*
p
,
long
available
))
21
22
#define TRACE
23
#define COUNT
24
#include
"mainloop.h"