Skip to content
Snippets Groups Projects
Commit 0c08e757 authored by Yifan Zhao's avatar Yifan Zhao
Browse files

Major cleanup of soc_simulator and gpu_profiler

parent d3408040
No related branches found
No related tags found
No related merge requests found
Showing
with 0 additions and 626 deletions
*.swp
jetsonTX2Power
pp
cmake_minimum_required(VERSION 3.5)
set(libsrc src/profiler.cpp)
set (CMAKE_CXX_STANDARD 11)
add_library(gpu_profiler STATIC ${libsrc})
target_include_directories(gpu_profiler PRIVATE include)
all:
g++ -std=c++11 -O3 profiler.cpp -o pp -lpthread
clean:
rm -rf pp
# Tegra GPU Profiler
## Build
```shell
mkdir lib
cmake ../
make
This diff is collapsed.
#!/bin/sh
input=$1
gnuplot -p << EOF
#set terminal png
#set output "$input.png"
set xlabel "Time (s)"
set ylabel "Power (mW)"
set title "Power usage of GPU and DDR over time"
plot "$input" using 1:2 title 'GPU' with lines,"$input" using 1:3 title 'DDR' with lines
EOF
File deleted
File deleted
File deleted
File deleted
File deleted
File deleted
File deleted
File deleted
File deleted
File deleted
File deleted
File deleted
File deleted
File deleted
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment