0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-26 16:11:02 +08:00

Sample: build when SAMPLE_NETWORK_TEST is undefined

This commit is contained in:
Sergey Yagovtsev 2017-12-27 22:37:52 +03:00
parent b73044fddd
commit 341a549f61

View File

@ -162,8 +162,8 @@ void modellingThread(){
//std::unique_lock<std::mutex> lk(cv_m);
//cv.wait(lk, []{return g_i == 1; });
EASY_THREAD("Modelling");
#ifdef SAMPLE_NETWORK_TEST
uint64_t step = 0;
#ifdef SAMPLE_NETWORK_TEST
while (true) {
#else
for (int i = 0; i < MODELLING_STEPS; i++){