/tomo/pyhst

To get this branch, use:
bzr branch http://darksoft.org/webbzr/tomo/pyhst

« back to all changes in this revision

Viewing changes to benchmarks/profile/run_cpu.sh

  • Committer: Suren A. Chilingaryan
  • Date: 2018-10-08 04:40:33 UTC
  • Revision ID: csa@suren.me-20181008044033-vbk0tmuvh4o8mx11
Add some CPU profiling counters

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#LD_LIBRARY_PATH=/opt/AMDAPP/lib/x86_64/:/home/csa/pyhst python /home/csa/pyhst/PyHST.py hst_csa.par
 
2
#CUDA_LAUNCH_BLOCKING=1 LD_LIBRARY_PATH=/opt/AMDAPP/lib/x86_64/sdk/:/home/csa/pyhst python /home/csa/pyhst/PyHST.py hst_csa.par
 
3
#CUDA_LAUNCH_BLOCKING=1 LD_LIBRARY_PATH=/opt/AMDAPP/lib/x86_64/sdk/:/home/csa/pyhst /opt/CodeXL_Linux_x86_64_2.4.58/rcprof -o output.csv -w $(pwd) -p /usr/bin/python /home/csa/pyhst/PyHST.py hst_csa.par 
 
4
 
 
5
CUDA_LAUNCH_BLOCKING=1 LD_LIBRARY_PATH=/opt/AMDAPP/lib/x86_64/sdk/:/home/csa/pyhst \
 
6
    perf stat \
 
7
        -e cache-references -e cache-misses -e branch-instructions -e branch-misses \
 
8
        -e L1-icache-loads -e L1-icache-load-misses -e L1-icache-prefetches -e L1-icache-prefetch-misses \
 
9
        -e L1-dcache-loads -e L1-dcache-load-misses -e L1-dcache-stores -e L1-dcache-store-misses -e L1-dcache-prefetches -e L1-dcache-prefetch-misses \
 
10
        -e LLC-loads -e LLC-load-misses -e LLC-stores -e LLC-store-misses -e LLC-prefetches -e LLC-prefetch-misses \
 
11
        -e cycles -e stalled-cycles-frontend -e stalled-cycles-backend  -e instructions \
 
12
        -e context-switches -e cpu-migrations \
 
13
        python /home/csa/pyhst/PyHST.py hst_csa.par