Home
last modified time | relevance | path

Searched refs:running_ (Results 1 – 25 of 48) sorted by relevance

12

/third_party/json/benchmarks/thirdparty/benchmark/src/
Dthread_timer.h16 running_ = true; in StartTimer()
23 CHECK(running_); in StopTimer()
24 running_ = false; in StopTimer()
34 bool running() const { return running_; } in running()
38 CHECK(!running_); in real_time_used()
44 CHECK(!running_); in cpu_time_used()
50 CHECK(!running_); in manual_time_used()
55 bool running_ = false; // Is the timer running
/third_party/benchmark/src/
Dthread_timer.h24 running_ = true; in StartTimer()
31 BM_CHECK(running_); in StopTimer()
32 running_ = false; in StopTimer()
43 bool running() const { return running_; } in running()
47 BM_CHECK(!running_); in real_time_used()
53 BM_CHECK(!running_); in cpu_time_used()
59 BM_CHECK(!running_); in manual_time_used()
72 bool running_ = false; // Is the timer running variable
/third_party/mindspore/mindspore/ccsrc/ps/core/
Dfollower_scaler.cc24 : node_(node), scaling_state_(NodeScaleState::kNormal), running_(true) { in FollowerScaler()
26 while (running_.load()) { in FollowerScaler()
29 …lock, [&]() -> bool { return !running_.load() || scaling_state_.load() == NodeScaleState::kPrepari… in FollowerScaler()
30 if (!running_.load()) { in FollowerScaler()
38 while (running_.load()) { in FollowerScaler()
41 …lock, [&]() -> bool { return !running_.load() || scaling_state_.load() == NodeScaleState::kPrepari… in FollowerScaler()
45 if (!running_.load()) { in FollowerScaler()
53 while (running_.load()) { in FollowerScaler()
56 …lock, [&]() -> bool { return !running_.load() || scaling_state_.load() == NodeScaleState::kScaling… in FollowerScaler()
57 if (!running_.load()) { in FollowerScaler()
[all …]
/third_party/cef/tests/cefclient/renderer/
Dperformance_test_setup.h38 CefTimer() : running_(false) {} in CefTimer()
40 bool IsRunning() { return running_; } in IsRunning()
43 DCHECK(!running_); in Start()
44 running_ = true; in Start()
50 DCHECK(running_); in Stop()
51 running_ = false; in Stop()
55 DCHECK(!running_); in Delta()
60 bool running_;
/third_party/ninja/src/
Dsubprocess-posix.cc235 running_.push_back(subprocess); in Add()
244 for (vector<Subprocess*>::iterator i = running_.begin(); in DoWork()
245 i != running_.end(); ++i) { in DoWork()
269 for (vector<Subprocess*>::iterator i = running_.begin(); in DoWork()
270 i != running_.end(); ) { in DoWork()
279 i = running_.erase(i); in DoWork()
295 for (vector<Subprocess*>::iterator i = running_.begin(); in DoWork()
296 i != running_.end(); ++i) { in DoWork()
319 for (vector<Subprocess*>::iterator i = running_.begin(); in DoWork()
320 i != running_.end(); ) { in DoWork()
[all …]
Dsubprocess-win32.cc246 running_.push_back(subprocess); in Add()
271 remove(running_.begin(), running_.end(), subproc); in DoWork()
272 if (running_.end() != end) { in DoWork()
274 running_.resize(end - running_.begin()); in DoWork()
290 for (vector<Subprocess*>::iterator i = running_.begin(); in Clear()
291 i != running_.end(); ++i) { in Clear()
301 for (vector<Subprocess*>::iterator i = running_.begin(); in Clear()
302 i != running_.end(); ++i) in Clear()
304 running_.clear(); in Clear()
Dsubprocess_test.cc195 ASSERT_EQ(3u, subprocs_.running_.size()); in TEST_F()
203 ASSERT_GT(subprocs_.running_.size(), 0u); in TEST_F()
207 ASSERT_EQ(0u, subprocs_.running_.size()); in TEST_F()
238 while (!subprocs_.running_.empty()) in TEST_F()
/third_party/mindspore/mindspore/ccsrc/fl/server/
Diteration_timer.cc23 if (running_.load()) { in Start()
27 running_ = true; in Start()
30 while (running_.load()) { in Start()
33 running_ = false; in Start()
42 running_ = false; in Stop()
57 bool IterationTimer::IsRunning() const { return running_; } in IsRunning()
Diteration_timer.h32 IterationTimer() : running_(false), end_time_(0) {} in IterationTimer()
52 std::atomic<bool> running_;
/third_party/flutter/engine/flutter/fml/platform/linux/
Dmessage_loop_linux.cc20 running_(false) { in MessageLoopLinux()
48 running_ = true; in Run()
50 while (running_) { in Run()
58 running_ = false; in Run()
65 running_ = false; in Run()
77 running_ = false; in Terminate()
/third_party/mindspore/mindspore/ccsrc/ps/core/communicator/
Dtask_executor.cc23 : running_(true), in TaskExecutor()
37 if (!running_) { in TaskExecutor()
44 if (!running_ || task_queue_.empty()) { in TaskExecutor()
60 while (running_) { in TaskExecutor()
78 running_ = false; in ~TaskExecutor()
Dtcp_communicator.cc24 if (running_) { in Start()
68 running_ = true; in Start()
70 while (running_) { in Start()
88 running_ = false; in Stop()
Dssl_client.cc33 SSLClient::SSLClient() : ssl_ctx_(nullptr), check_time_thread_(nullptr), running_(false), is_ready_… in SSLClient()
169 running_ = true; in StartCheckCertTime()
171 while (running_) { in StartCheckCertTime()
187 running_ = false; in StopCheckCertTime()
Dcommunicator_base.cc24 running_ = false; in ~CommunicatorBase()
46 bool CommunicatorBase::running() const { return running_; } in running()
Dhttp_communicator.cc36 while (running_) { in Start()
49 running_ = false; in Stop()
Dcommunicator_base.h71 CommunicatorBase() : running_(false) {} in CommunicatorBase()
90 bool running_; variable
/third_party/flutter/engine/flutter/fml/platform/android/
Dmessage_loop_android.cc34 running_(false) { in MessageLoopAndroid()
65 running_ = true; in Run()
67 while (running_) { in Run()
75 running_ = false; in Run()
81 running_ = false; in Terminate()
/third_party/flutter/engine/flutter/fml/platform/darwin/
Dmessage_loop_darwin.mm17 : running_(false), loop_((CFRunLoopRef)CFRetain(CFRunLoopGetCurrent())) {
42 running_ = true;
44 while (running_) {
53 running_ = false;
60 running_ = false;
/third_party/boost/libs/beast/test/extras/include/boost/beast/test/
Dyield_to.hpp44 std::size_t running_ = 0; member in boost::beast::test::enable_yield_to
113 running_ = 1 + sizeof...(FN); in yield_to()
116 cv_.wait(lock, [&]{ return running_ == 0; }); in yield_to()
130 if(--running_ == 0) in spawn()
/third_party/flutter/engine/flutter/fml/platform/win/
Dmessage_loop_win.cc19 running_ = true; in Run()
21 while (running_) { in Run()
28 running_ = false; in Terminate()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/util/
Dtask.cc118 running_(false), in Task()
128 if (running_ == false) { in Run()
131 running_ = true; in Run()
141 if (running_) { in Join()
189 running_ = false; in Join()
/third_party/mindspore/mindspore/ccsrc/fl/server/kernel/round/
Dround_kernel.cc30 …undKernel() : name_(""), current_count_(0), required_count_(0), error_reason_(""), running_(true) { in RoundKernel()
32 while (running_.load()) { in RoundKernel()
58 running_ = false; in ~RoundKernel()
/third_party/mindspore/mindspore/ccsrc/fl/worker/
Dfl_worker.cc28 if (running_.load()) { in Run()
31 running_ = true; in Run()
51 running_ = false; in Run()
61 running_ = false; in Run()
158 bool FLWorker::running() const { return running_.load(); } in running()
/third_party/mindspore/mindspore/ccsrc/ps/ps_cache/
Dps_cache_manager.cc176 …insert_init_info_.wait(locker, [this] { return finish_insert_init_info_ == true || running_ == fal… in InitParameterServer()
177 if (!running_) { in InitParameterServer()
209 data_prase_.wait(locker, [this] { return !channel_name_.empty() || running_ == false; }); in InitDataChannel()
210 if (!running_) { in InitDataChannel()
293 if (!running_) { in IncreaseGraphStep()
302 …data_prase_.wait(locker, [this] { return ((finish_init_parameter_server_ == true) || (running_ == … in IncreaseGraphStep()
303 if (!running_) { in IncreaseGraphStep()
327 running_ = true; in ProcessDataTask()
335 running_ = false; in ProcessDataTask()
341 while (running_) { in ProcessDataTask()
[all …]
/third_party/cef/tests/ceftests/
Dmessage_router_unittest.cc1037 running_(false), in MultiQueryManager()
1050 EXPECT_FALSE(running_); in AddObserver()
1055 EXPECT_FALSE(running_); in RemoveObserver()
1083 EXPECT_FALSE(running_); in GetHTML()
1175 if (!running_) in OnNotify()
1176 running_ = true; in OnNotify()
1237 if (!running_) in OnQuery()
1238 running_ = true; in OnQuery()
1305 if (!running_) in OnQueryCanceled()
1306 running_ = true; in OnQueryCanceled()
[all …]

12