Home
last modified time | relevance | path

Searched refs:LossyIncrement (Results 1 – 1 of 1) sorted by relevance

/external/tensorflow/tensorflow/core/platform/default/
Dlogging.cc364 uint32 LossyIncrement(std::atomic<uint32>* counter) { in LossyIncrement() function
372 return n != 0 && (LossyIncrement(&counter_) % n) == 0; in ShouldLog()
385 const uint32 new_value = LossyIncrement(&counter_) + 1; in ShouldLog()
391 LossyIncrement(&counter_); in ShouldLog()