mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
internal changes
PiperOrigin-RevId: 855347174
This commit is contained in:
committed by
Copybara-Service
parent
b5796d2394
commit
5c8427a733
@@ -24,8 +24,6 @@
|
||||
#include "internal/platform/pending_job_registry.h"
|
||||
#include "internal/platform/runnable.h"
|
||||
|
||||
#define SET_THREAD_STATUS(NAME)
|
||||
|
||||
namespace nearby {
|
||||
namespace {
|
||||
absl::Duration kMinReportedStartDelay = absl::Seconds(5);
|
||||
@@ -44,7 +42,6 @@ MonitoredRunnable::MonitoredRunnable(const std::string& name,
|
||||
}
|
||||
|
||||
void MonitoredRunnable::operator()() {
|
||||
SET_THREAD_STATUS(name_.c_str());
|
||||
absl::Time start_time = SystemClock::ElapsedRealtime();
|
||||
absl::Duration start_delay = start_time - post_time_;
|
||||
if (start_delay >= kMinReportedStartDelay) {
|
||||
|
||||
Reference in New Issue
Block a user