summaryrefslogtreecommitdiff
path: root/chap/encl1.tex
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2019-05-17 11:54:27 +0800
committerIru Cai <mytbk920423@gmail.com>2019-05-17 11:54:27 +0800
commitbff52c33e72bc21f936530e6543611f982b8c13b (patch)
tree1b4c8b9211b92f1550a42c60e177c44b9e8e50f4 /chap/encl1.tex
parent8f7058d77051ee65b724114d3f64585e56b11ec9 (diff)
downloaddissertation-bff52c33e72bc21f936530e6543611f982b8c13b.tar.xz
upd
Diffstat (limited to 'chap/encl1.tex')
-rw-r--r--chap/encl1.tex6
1 files changed, 4 insertions, 2 deletions
diff --git a/chap/encl1.tex b/chap/encl1.tex
index a2eafac..6a8e62a 100644
--- a/chap/encl1.tex
+++ b/chap/encl1.tex
@@ -11,7 +11,8 @@
#include <string.h>
#include <x86intrin.h>
-/* default: 64B line size, L1-D 64KB assoc 2, L1-I 32KB assoc 2, L2 2MB assoc 8 */
+/* default: 64B line size, L1-D 64KB assoc 2, L1-I 32KB assoc 2
+ , L2 2MB assoc 8 */
#define LLC_SIZE (2 << 20)
uint8_t dummy[LLC_SIZE];
@@ -59,7 +60,8 @@ int main()
printf("attack_idx = %ld\n", attack_idx);
for (int i = 0; i < 256; i++) {
- printf("%d: %d, %s\n", i, t[i], (t[i] < 40)? "hit": "miss");
+ printf("%d: %d, %s\n", i, t[i],
+ (t[i] < 40)? "hit": "miss");
}
}
\end{minted}