Skip to content

Commit

Permalink
Add scripts for getting coverage numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Collingbourne committed Aug 5, 2010
1 parent 5619111 commit 079deee
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions coverage-perfile-dynamic
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

cat "$@" | grep '^SSE instr:' | grep -vw cvRound | sort | uniq | wc -l
5 changes: 5 additions & 0 deletions coverage-perfile-static
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

. $(dirname "$0")/Makefile.config

$KLEE_BUILD_PATH/bin/simd-count -o - $1 | wc -l
3 changes: 3 additions & 0 deletions coverage-perfunc-dynamic
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

cat "$@" | grep '^SSE instr:' | sort | uniq | cut -d' ' -f9 | sort | uniq -c
5 changes: 5 additions & 0 deletions coverage-perfunc-static
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

. $(dirname "$0")/Makefile.config

$KLEE_BUILD_PATH/bin/simd-count -o - $1 | cut -d, -f1 | sort | uniq -c

0 comments on commit 079deee

Please sign in to comment.