Home
last modified time | relevance | path

Searched refs:epoch (Results 1 – 25 of 143) sorted by relevance

123456

/external/compiler-rt/lib/tsan/rtl/
Dtsan_clock.cc125 u64 epoch = src->elem(tid).epoch; in acquire() local
126 if (clk_[tid].epoch < epoch) { in acquire()
127 clk_[tid].epoch = epoch; in acquire()
134 last_acquire_ = clk_[tid_].epoch; in acquire()
144 u64 epoch = src->elem(i).epoch; in acquire() local
145 if (clk_[i].epoch < epoch) { in acquire()
146 clk_[i].epoch = epoch; in acquire()
157 last_acquire_ = clk_[tid_].epoch; in acquire()
180 if (dst->elem(tid_).epoch > last_acquire_) { in release()
197 ce.epoch = max(ce.epoch, clk_[i].epoch); in release()
[all …]
Dtsan_mutexset.cc25 void MutexSet::Add(u64 id, bool write, u64 epoch) { in Add() argument
30 descs_[i].epoch = epoch; in Add()
39 if (descs_[i].epoch < minepoch) { in Add()
40 minepoch = descs_[i].epoch; in Add()
50 descs_[size_].epoch = epoch; in Add()
Dtsan_clock.h22 u64 epoch : kClkBits; member
54 return elem(tid).epoch; in get()
89 return clk_[tid].epoch; in get()
95 DCHECK_GE(v, clk_[tid_].epoch); in set()
96 clk_[tid_].epoch = v; in set()
100 clk_[tid_].epoch++; in tick()
Dtsan_rtl_mutex.cc120 RestoreStack(last.tid(), last.epoch(), &trace, 0); in MutexDestroy()
171 thr->mset.Add(s->GetId(), true, thr->fast_state.epoch()); in MutexLock()
249 thr->mset.Add(s->GetId(), false, thr->fast_state.epoch()); in MutexReadLock()
377 thr->clock.set(tctx->tid, tctx->thr->fast_state.epoch()); in UpdateClockCallback()
420 thr->last_sleep_clock.set(tctx->tid, tctx->thr->fast_state.epoch()); in UpdateSleepClockCallback()
439 thr->clock.set(thr->fast_state.epoch()); in AcquireImpl()
447 thr->clock.set(thr->fast_state.epoch()); in ReleaseImpl()
448 thr->fast_synch_epoch = thr->fast_state.epoch(); in ReleaseImpl()
456 thr->clock.set(thr->fast_state.epoch()); in ReleaseStoreImpl()
457 thr->fast_synch_epoch = thr->fast_state.epoch(); in ReleaseStoreImpl()
[all …]
Dtsan_mutexset.h28 u64 epoch; member
35 void Add(u64 id, bool write, u64 epoch);
60 void MutexSet::Add(u64 id, bool write, u64 epoch) {} in Add() argument
Dtsan_rtl_report.cc372 void RestoreStack(int tid, const u64 epoch, VarSizeStackTrace *stk, in RestoreStack() argument
379 const int partidx = (epoch / kTracePartSize) % TraceParts(); in RestoreStack()
381 if (epoch < hdr->epoch0 || epoch >= hdr->epoch0 + kTracePartSize) in RestoreStack()
383 CHECK_EQ(RoundDown(epoch, kTracePartSize), hdr->epoch0); in RestoreStack()
384 const u64 epoch0 = RoundDown(epoch, TraceSize()); in RestoreStack()
385 const u64 eend = epoch % TraceSize(); in RestoreStack()
388 tid, (uptr)epoch, (uptr)ebegin, (uptr)eend, partidx); in RestoreStack()
638 RestoreStack(s2.tid(), s2.epoch(), &traces[1], mset2); in ReportRace()
656 if (s.epoch() < tctx->epoch0 || s.epoch() > tctx->epoch1) in ReportRace()
666 if (s.epoch() <= thr->last_sleep_clock.get(s.tid())) in ReportRace()
Dtsan_rtl.h93 FastState(u64 tid, u64 epoch) { in FastState() argument
95 x_ |= epoch; in FastState()
97 DCHECK_EQ(epoch, this->epoch()); in FastState()
119 u64 epoch() const { in epoch() function
125 u64 old_epoch = epoch(); in IncrementEpoch()
127 DCHECK_EQ(old_epoch + 1, epoch()); in IncrementEpoch()
155 return epoch() & mask; in GetTracePos()
440 explicit ThreadState(Context *ctx, int tid, int unique_id, u64 epoch,
587 void RestoreStack(int tid, const u64 epoch, VarSizeStackTrace *stk,
/external/jemalloc/test/unit/
Dstats.c39 uint64_t epoch; in TEST_BEGIN() local
48 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch, sizeof(epoch)), in TEST_BEGIN()
79 uint64_t epoch; in TEST_BEGIN() local
103 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch, sizeof(epoch)), in TEST_BEGIN()
147 uint64_t epoch, nmalloc, ndalloc, nrequests; in TEST_BEGIN() local
162 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch, sizeof(epoch)), in TEST_BEGIN()
198 uint64_t epoch, nmalloc, ndalloc, nrequests; in TEST_BEGIN() local
208 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch, sizeof(epoch)), in TEST_BEGIN()
244 uint64_t epoch, nmalloc, ndalloc; in TEST_BEGIN() local
254 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch, sizeof(epoch)), in TEST_BEGIN()
[all …]
Dmallctl.c5 uint64_t epoch; in TEST_BEGIN() local
15 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch, in TEST_BEGIN()
16 sizeof(epoch)-1), EINVAL, in TEST_BEGIN()
18 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch, in TEST_BEGIN()
19 sizeof(epoch)+1), EINVAL, in TEST_BEGIN()
22 sz = sizeof(epoch)-1; in TEST_BEGIN()
23 assert_d_eq(mallctl("epoch", (void *)&epoch, &sz, NULL, 0), EINVAL, in TEST_BEGIN()
25 sz = sizeof(epoch)+1; in TEST_BEGIN()
26 assert_d_eq(mallctl("epoch", (void *)&epoch, &sz, NULL, 0), EINVAL, in TEST_BEGIN()
44 uint64_t epoch; in TEST_BEGIN() local
[all …]
Ddecay.c212 uint64_t epoch; in TEST_BEGIN() local
242 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch, in TEST_BEGIN()
286 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch, in TEST_BEGIN()
307 uint64_t epoch; in TEST_BEGIN() local
321 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch, in TEST_BEGIN()
351 assert_d_eq(mallctl("epoch", NULL, NULL, (void *)&epoch, in TEST_BEGIN()
/external/tensorflow/tensorflow/python/keras/_impl/keras/
Dcallbacks.py72 def on_epoch_begin(self, epoch, logs=None): argument
81 callback.on_epoch_begin(epoch, logs)
86 def on_epoch_end(self, epoch, logs=None): argument
95 callback.on_epoch_end(epoch, logs)
201 def on_epoch_begin(self, epoch, logs=None): argument
204 def on_epoch_end(self, epoch, logs=None): argument
237 def on_epoch_begin(self, epoch, logs=None): argument
255 def on_epoch_end(self, epoch, logs=None): argument
314 def on_epoch_begin(self, epoch, logs=None): argument
316 print('Epoch %d/%d' % (epoch + 1, self.epochs))
[all …]
/external/eigen/unsupported/Eigen/CXX11/src/ThreadPool/
DEventCount.h68 w->epoch = state_.fetch_add(kWaiterInc, std::memory_order_relaxed); in Prewait()
76 uint64_t epoch = in CommitWait() local
77 (w->epoch & kEpochMask) + in CommitWait()
78 (((w->epoch & kWaiterMask) >> kWaiterShift) << kEpochShift); in CommitWait()
81 if (int64_t((state & kEpochMask) - epoch) < 0) { in CommitWait()
89 if (int64_t((state & kEpochMask) - epoch) > 0) return; in CommitWait()
107 uint64_t epoch = in CancelWait() local
108 (w->epoch & kEpochMask) + in CancelWait()
109 (((w->epoch & kWaiterMask) >> kWaiterShift) << kEpochShift); in CancelWait()
112 if (int64_t((state & kEpochMask) - epoch) < 0) { in CancelWait()
[all …]
/external/llvm/unittests/Support/
DTimeValueTest.cpp26 sys::TimeValue epoch; in TEST() local
30 epoch.fromWin32Time(ft1970); in TEST()
33 EXPECT_EQ(0u, epoch.toEpochTime()); in TEST()
34 EXPECT_EQ(ns, static_cast<uint32_t>(epoch.nanoseconds())); in TEST()
37 EXPECT_EQ(ft1970, epoch.toWin32Time()); in TEST()
/external/tensorflow/tensorflow/python/data/kernel_tests/
Dreader_dataset_ops_test.py346 for epoch in range(num_epochs):
349 if (epoch == epoch_break and f == file_break and
369 for epoch in range(num_epochs):
372 if (epoch < epoch_break or
373 (epoch == epoch_break and f < file_break) or
374 (epoch == epoch_break and f == file_break and
399 for epoch in range(num_epochs):
402 if (epoch == epoch_break and f == file_break and
423 for epoch in range(num_epochs):
426 if (epoch < epoch_break or
[all …]
/external/boringssl/src/ssl/
Ddtls_record.cc225 uint16_t epoch = (((uint16_t)sequence[0]) << 8) | sequence[1]; in dtls_open_record() local
226 if (epoch != ssl->d1->r_epoch || in dtls_open_record()
305 uint16_t epoch = ssl->d1->w_epoch; in dtls_seal_record() local
310 epoch = ssl->d1->w_epoch - 1; in dtls_seal_record()
326 out[3] = epoch >> 8; in dtls_seal_record()
327 out[4] = epoch & 0xff; in dtls_seal_record()
/external/scapy/scapy/contrib/
Dppi_geotag.uts47 utc_time = UTCTimeField("Test", None, epoch=local_time)
48 assert time.localtime(utc_time.epoch) == local_time
57 lme_time = LETimeField("Test", None, epoch=local_time)
58 assert time.localtime(lme_time.epoch) == local_time
/external/libogg/
Dlibogg.spec.in13 # We're forced to use an epoch since both Red Hat and Ximian use it in their
18 Provides: %{name} = %{epoch}:1.0rc3-%{release}
19 Provides: %{name} = %{epoch}:1.0beta4-%{release}
31 Provides: %{name}-devel = %{epoch}:1.0rc3-%{release}
32 Provides: %{name}-devel = %{epoch}:1.0beta4-%{release}
Dlibogg.spec18 Provides: %{name} = %{epoch}:1.0rc3-%{release}
19 Provides: %{name} = %{epoch}:1.0beta4-%{release}
31 Provides: %{name}-devel = %{epoch}:1.0rc3-%{release}
32 Provides: %{name}-devel = %{epoch}:1.0beta4-%{release}
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_shadow_test.cc22 EXPECT_EQ(s.epoch(), (u64)22); in TEST()
31 EXPECT_EQ(s.epoch(), (u64)23); in TEST()
33 EXPECT_EQ(s.epoch(), (u64)24); in TEST()
Dtsan_mutexset_test.cc18 static void Expect(const MutexSet &mset, uptr i, u64 id, bool write, u64 epoch, in Expect() argument
23 EXPECT_EQ(epoch, d.epoch); in Expect()
/external/tensorflow/tensorflow/tools/api/golden/
Dtensorflow.keras.callbacks.-remote-monitor.pbtxt8 …args=None, keywords=None, defaults=[\'http://localhost:9000\', \'/publish/epoch/end/\', \'data\', …
20 …argspec: "args=[\'self\', \'epoch\', \'logs\'], varargs=None, keywords=None, defaults=[\'None\'], "
24 …argspec: "args=[\'self\', \'epoch\', \'logs\'], varargs=None, keywords=None, defaults=[\'None\'], "
/external/python/cpython3/Doc/library/
Dtime.rst22 .. index:: single: epoch
24 * The :dfn:`epoch` is the point where the time starts, and is platform
25 dependent. For Unix, the epoch is January 1, 1970, 00:00:00 (UTC).
26 To find out what the epoch is on a given platform, look at
31 .. index:: seconds since the epoch
33 * The term :dfn:`seconds since the epoch` refers to the total number
34 of elapsed seconds since the epoch, typically excluding
40 * The functions in this module may not handle dates and times before the epoch or
52 represented internally as seconds since the epoch. Function :func:`strptime`
107 | seconds since the epoch | :class:`struct_time` in | :func:`gmtime` |
[all …]
/external/fio/
Dlibfio.c147 memcpy(&td->start, &td->epoch, sizeof(struct timeval)); in reset_all_stats()
148 memcpy(&td->iops_sample_time, &td->epoch, sizeof(struct timeval)); in reset_all_stats()
149 memcpy(&td->bw_sample_time, &td->epoch, sizeof(struct timeval)); in reset_all_stats()
150 memcpy(&td->ss.prev_time, &td->epoch, sizeof(struct timeval)); in reset_all_stats()
/external/libmojo/mojo/common/
Dtime.mojom9 // intentionally unspecified epoch.
19 // intentionally unspecified epoch.
/external/python/cpython2/Doc/library/
Dtime.rst20 .. index:: single: epoch
22 * The :dfn:`epoch` is the point where the time starts. On January 1st of that
23 year, at 0 hours, the "time since the epoch" is zero. For Unix, the epoch is
24 1970. To find out what the epoch is, look at ``gmtime(0)``.
28 * The functions in this module do not handle dates and times before the epoch or
40 represented internally as seconds since the epoch. Functions accepting a
96 | seconds since the epoch | :class:`struct_time` in | :func:`gmtime` |
99 | seconds since the epoch | :class:`struct_time` in | :func:`localtime` |
102 | :class:`struct_time` in | seconds since the epoch | :func:`calendar.timegm` |
105 | :class:`struct_time` in | seconds since the epoch | :func:`mktime` |
[all …]

123456