aboutsummaryrefslogtreecommitdiff
path: root/pk/boot.h
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2016-08-10 12:46:09 -0700
committerAndrew Waterman <waterman@cs.berkeley.edu>2016-08-10 12:46:09 -0700
commit0a7862c79ffcf931d5369d50b15774cc1ec8f396 (patch)
tree8e703ef3164e19938b773982094373e6c8f10ea2 /pk/boot.h
parent7520a474199df8b9ef7cee32eebcea7577813814 (diff)
downloadpk-0a7862c79ffcf931d5369d50b15774cc1ec8f396.zip
pk-0a7862c79ffcf931d5369d50b15774cc1ec8f396.tar.gz
pk-0a7862c79ffcf931d5369d50b15774cc1ec8f396.tar.bz2
when -s is passed, print time, instret, cycle, and CPI
Diffstat (limited to 'pk/boot.h')
-rw-r--r--pk/boot.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/pk/boot.h b/pk/boot.h
index d2a619d..f16ab15 100644
--- a/pk/boot.h
+++ b/pk/boot.h
@@ -20,7 +20,9 @@ typedef struct {
size_t brk_max;
size_t mmap_max;
size_t stack_top;
- size_t t0;
+ size_t time0;
+ size_t cycle0;
+ size_t instret0;
} elf_info;
extern elf_info current;