- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 502 for timerC (0.19 sec)
-
testing/integ-test/src/integTest/groovy/org/gradle/integtests/BuildSourceBuilderIntegrationTest.groovy
import ${OperationIdentifier.name} import ${ProcessEnvironment.name} import ${Time.name} import ${Timer.name} def pid = gradle.services.get(ProcessEnvironment).maybeGetPid() def timer = Time.startTimer() def listener = new TraceListener(pid: pid, timer: timer) def manager = gradle.services.get(BuildOperationListenerManager)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_progress.go
pr.stopped = true pr.cond.Signal() }() timer := pr.clock.NewTimer(progressRequestPeriod) defer timer.Stop() for { stopped := func() bool { pr.mux.Lock() defer pr.mux.Unlock() for pr.waiting == 0 && !pr.stopped { pr.cond.Wait() } return pr.stopped }() if stopped { return } select { case <-timer.C(): shouldRequest := func() bool { pr.mux.Lock()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 24 09:56:38 UTC 2024 - 3K bytes - Viewed (0) -
src/testing/benchmark.go
if b.timerOn { b.duration += highPrecisionTimeSince(b.start) runtime.ReadMemStats(&memStats) b.netAllocs += memStats.Mallocs - b.startAllocs b.netBytes += memStats.TotalAlloc - b.startBytes b.timerOn = false } } // ResetTimer zeroes the elapsed benchmark time and memory allocation counters // and deletes user-reported metrics. // It does not affect whether the timer is running.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 23.9K bytes - Viewed (0) -
pkg/sleep/sleep.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Sep 07 14:36:37 UTC 2022 - 1.2K bytes - Viewed (0) -
src/internal/trace/internal/oldtrace/parser.go
Type event.Type // one of Ev* } // Frame is a frame in stack traces. type Frame struct { PC uint64 // string ID of the function name Fn uint64 // string ID of the file name File uint64 Line int } const ( // Special P identifiers: FakeP = 1000000 + iota TimerP // contains timer unblocks NetpollP // contains network unblocks
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 46.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/configuration/configuration_manager_test.go
poller.bootstrapGracePeriod = 100 * time.Second poller.bootstrapRetries = math.MaxInt32 // set failureThreshold to 0 so that one single failure will set "ready" to false. poller.failureThreshold = 0 stopCh := make(chan struct{}) defer close(stopCh) go poller.Run(stopCh) go func() { // The test might have false negative, but won't be flaky timer := time.NewTimer(2 * time.Second) defer timer.Stop() <-timer.C
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 06 02:02:38 UTC 2017 - 2.4K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/CaptureOutputsAfterExecutionStep.java
private OriginMetadata createOriginMetadata(CachingState.CacheKeyCalculatedState cacheKeyCalculatedState, Result result, Timer timer) { long snapshotOutputDuration = timer.getElapsedMillis(); // The origin execution time is recorded as “work duration” + “output snapshotting duration”, // As this is _roughly_ the amount of time that is avoided by reusing the outputs, // which is currently the _only_ thing this value is used for.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:33 UTC 2024 - 5.7K bytes - Viewed (0) -
src/net/pipe.go
// t value in the future. // // A zero value for t prevents timeout. func (d *pipeDeadline) set(t time.Time) { d.mu.Lock() defer d.mu.Unlock() if d.timer != nil && !d.timer.Stop() { <-d.cancel // Wait for the timer callback to finish and close cancel } d.timer = nil // Time is zero, then there is no deadline. closed := isClosedChan(d.cancel) if t.IsZero() { if closed {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 5.4K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/ExecuteStep.java
}; UnitOfWork.WorkOutput workOutput; Timer timer = Time.startTimer(); try { workOutput = work.execute(executionRequest); } catch (Throwable t) { return Result.failed(t, Duration.ofMillis(timer.getElapsedMillis())); } Duration duration = Duration.ofMillis(timer.getElapsedMillis());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 10:36:34 UTC 2024 - 6.3K bytes - Viewed (0) -
tensorflow/c/experimental/stream_executor/stream_executor_test_util.cc
void CreateTimer(const SP_Device* const device, SP_Timer* timer, TF_Status* const status) {} void DestroyTimer(const SP_Device* const device, SP_Timer timer) {} void StartTimer(const SP_Device* const device, SP_Stream stream, SP_Timer timer, TF_Status* const status) {} void StopTimer(const SP_Device* const device, SP_Stream stream, SP_Timer timer, TF_Status* const status) {}
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 21 20:09:00 UTC 2023 - 8.7K bytes - Viewed (0)