mirror of
https://github.com/yse/easy_profiler.git
synced 2024-12-26 08:01:51 +08:00
minor changes in sample
This commit is contained in:
parent
dbc2989788
commit
99d6a21a4a
@ -3,15 +3,13 @@ TEMP_FILE_ENABLE="enable.info"
|
||||
TEMP_FILE_DISABLE="disable.info"
|
||||
OBJECTS="1000"
|
||||
|
||||
$CXX_COMPILER -O3 -std=c++11 -I../easy_profiler_core/include/ -L../bin/ -leasy_profiler -DBUILD_WITH_EASY_PROFILER express_sample.cpp -o express_test_enabled
|
||||
$CXX_COMPILER -O3 -std=c++11 -I../easy_profiler_core/include/ -L../bin/ -leasy_profiler express_sample.cpp -o express_test_disabled
|
||||
$CXX_COMPILER -O3 -std=c++11 -I../easy_profiler_core/include/ -L../bin/ -leasy_profiler -DBUILD_WITH_EASY_PROFILER express_sample.cpp -o express_test_enabled
|
||||
|
||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:../bin
|
||||
|
||||
|
||||
|
||||
./express_test_enabled $OBJECTS > $TEMP_FILE_ENABLE
|
||||
./express_test_disabled $OBJECTS > $TEMP_FILE_DISABLE
|
||||
./express_test_enabled $OBJECTS > $TEMP_FILE_ENABLE
|
||||
|
||||
DT_ENA=`cat $TEMP_FILE_ENABLE | grep Elapsed| awk '{print $3}'`
|
||||
N_ENA=`cat $TEMP_FILE_ENABLE | grep Blocks| awk '{print $3}'`
|
||||
|
@ -23,8 +23,6 @@ void modellingThread(){
|
||||
}
|
||||
|
||||
{
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(16));
|
||||
|
||||
EASY_BLOCK("Collisions");
|
||||
volatile int i, j;
|
||||
volatile double dist;
|
||||
|
Loading…
x
Reference in New Issue
Block a user