mirror of
https://github.com/yse/easy_profiler.git
synced 2024-12-27 08:41:02 +08:00
Sample: build when SAMPLE_NETWORK_TEST is undefined
This commit is contained in:
parent
b73044fddd
commit
341a549f61
@ -162,8 +162,8 @@ void modellingThread(){
|
|||||||
//std::unique_lock<std::mutex> lk(cv_m);
|
//std::unique_lock<std::mutex> lk(cv_m);
|
||||||
//cv.wait(lk, []{return g_i == 1; });
|
//cv.wait(lk, []{return g_i == 1; });
|
||||||
EASY_THREAD("Modelling");
|
EASY_THREAD("Modelling");
|
||||||
#ifdef SAMPLE_NETWORK_TEST
|
|
||||||
uint64_t step = 0;
|
uint64_t step = 0;
|
||||||
|
#ifdef SAMPLE_NETWORK_TEST
|
||||||
while (true) {
|
while (true) {
|
||||||
#else
|
#else
|
||||||
for (int i = 0; i < MODELLING_STEPS; i++){
|
for (int i = 0; i < MODELLING_STEPS; i++){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user