Home
last modified time | relevance | path

Searched full:clock (Results 1 – 25 of 5111) sorted by relevance

12345678910>>...205

/external/perfetto/test/trace_processor/diff_tests/parser/profiling/
Dperf_sample_sc.out2 105089621851721,7,"kernel","[NULL]",0,"cpu-clock",1,8817,"__start_thread"
3 105089621851721,7,"kernel","[NULL]",0,"cpu-clock",1,8817,"_ZL15__pthread_startPv"
4 105089621851721,7,"kernel","[NULL]",0,"cpu-clock",1,8817,"_ZN13thread_data_t10trampolineEPKS_"
5 105089621851721,7,"kernel","[NULL]",0,"cpu-clock",1,8817,"_ZN7android14AndroidRuntime15javaThreadSh…
6 105089621851721,7,"kernel","[NULL]",0,"cpu-clock",1,8817,"_ZN7android6Thread11_threadLoopEPv"
7 105089621851721,7,"kernel","[NULL]",0,"cpu-clock",1,8817,"_ZN7android10PoolThread10threadLoopEv"
8 105089621851721,7,"kernel","[NULL]",0,"cpu-clock",1,8817,"_ZN7android14IPCThreadState14joinThreadPo…
9 105089621851721,7,"kernel","[NULL]",0,"cpu-clock",1,8817,"_ZN7android14IPCThreadState14executeComma…
10 105089621851721,7,"kernel","[NULL]",0,"cpu-clock",1,8817,"_ZN7android7BBinder8transactEjRKNS_6Parce…
11 105089621851721,7,"kernel","[NULL]",0,"cpu-clock",1,8817,"_ZN11JavaBBinder10onTransactEjRKN7android…
[all …]
Dperf_sample_rvc.out2 260406202383309,3,"kernel","[NULL]",0,"cpu-clock",1,1102,"__libc_init"
3 260406202383309,3,"kernel","[NULL]",0,"cpu-clock",1,1102,"_ZN8perfetto11ServiceMainEiPPc"
4 260406202383309,3,"kernel","[NULL]",0,"cpu-clock",1,1102,"_ZN8perfetto4base14UnixTaskRunner3RunEv"
5 260406202383309,3,"kernel","[NULL]",0,"cpu-clock",1,1102,"poll"
6 260406202383309,3,"kernel","[NULL]",0,"cpu-clock",1,1102,"__ppoll"
7 260406295220349,0,"kernel","[NULL]",0,"cpu-clock",1,1102,"__libc_init"
8 260406295220349,0,"kernel","[NULL]",0,"cpu-clock",1,1102,"_ZN8perfetto11ServiceMainEiPPc"
9 260406295220349,0,"kernel","[NULL]",0,"cpu-clock",1,1102,"_ZN8perfetto4base14UnixTaskRunner3RunEv"
10 260406295220349,0,"kernel","[NULL]",0,"cpu-clock",1,1102,"poll"
11 260406295220349,0,"kernel","[NULL]",0,"cpu-clock",1,1102,"__ppoll"
[all …]
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Drivers/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_hal_rcc_ex.h62 * @brief PLLSAI1 Clock structure definition
67 uint32_t PLLSAI1Source; /*!< PLLSAI1Source: PLLSAI1 entry clock source.
71 uint32_t PLLSAI1M; /*!< PLLSAI1M: specifies the division factor for PLLSAI1 input clock.
74 uint32_t PLLSAI1M; /*!< PLLSAI1M: specifies the division factor for PLLSAI1 input clock.
78 … PLLSAI1N; /*!< PLLSAI1N: specifies the multiplication factor for PLLSAI1 VCO output clock.
81 uint32_t PLLSAI1P; /*!< PLLSAI1P: specifies the division factor for SAI clock.
84 uint32_t PLLSAI1Q; /*!< PLLSAI1Q: specifies the division factor for USB/RNG/SDMMC1 clock.
87 uint32_t PLLSAI1R; /*!< PLLSAI1R: specifies the division factor for ADC clock.
90 uint32_t PLLSAI1ClockOut; /*!< PLLSAIClockOut: specifies PLLSAI1 output clock to be enabled.
97 * @brief PLLSAI2 Clock structure definition
[all …]
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Drivers/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_hal_rcc_ex.h62 * @brief PLLSAI1 Clock structure definition
67 uint32_t PLLSAI1Source; /*!< PLLSAI1Source: PLLSAI1 entry clock source.
71 uint32_t PLLSAI1M; /*!< PLLSAI1M: specifies the division factor for PLLSAI1 input clock.
74 uint32_t PLLSAI1M; /*!< PLLSAI1M: specifies the division factor for PLLSAI1 input clock.
78 … PLLSAI1N; /*!< PLLSAI1N: specifies the multiplication factor for PLLSAI1 VCO output clock.
81 uint32_t PLLSAI1P; /*!< PLLSAI1P: specifies the division factor for SAI clock.
84 uint32_t PLLSAI1Q; /*!< PLLSAI1Q: specifies the division factor for USB/RNG/SDMMC1 clock.
87 uint32_t PLLSAI1R; /*!< PLLSAI1R: specifies the division factor for ADC clock.
90 uint32_t PLLSAI1ClockOut; /*!< PLLSAIClockOut: specifies PLLSAI1 output clock to be enabled.
97 * @brief PLLSAI2 Clock structure definition
[all …]
/external/threetenbp/src/test/java/org/threeten/bp/
DTestClock_Tick.java42 * Test tick clock.
55 assertSerializable(Clock.tickSeconds(PARIS)); in test_isSerializable()
56 assertSerializable(Clock.tickMinutes(MOSCOW)); in test_isSerializable()
57 assertSerializable(Clock.tick(Clock.fixed(INSTANT, PARIS), AMOUNT)); in test_isSerializable()
63Clock test = Clock.tick(Clock.fixed(ZDT.withNano(i * 1000000).toInstant(), PARIS), Duration.ofMill… in test_tick_ClockDuration_250millis()
71Clock test = Clock.tick(Clock.fixed(ZDT.withNano(i * 1000).toInstant(), PARIS), Duration.ofNanos(2… in test_tick_ClockDuration_250micros()
79Clock test = Clock.tick(Clock.fixed(ZDT.withNano(i).toInstant(), PARIS), Duration.ofNanos(20)); in test_tick_ClockDuration_20nanos()
86 Clock underlying = Clock.system(PARIS); in test_tick_ClockDuration_zeroDuration()
87 Clock test = Clock.tick(underlying, Duration.ZERO); in test_tick_ClockDuration_zeroDuration()
92 Clock underlying = Clock.system(PARIS); in test_tick_ClockDuration_1nsDuration()
[all …]
DTestClock_Offset.java42 * Test offset clock.
54 assertSerializable(Clock.offset(Clock.system(PARIS), OFFSET)); in test_isSerializable()
59 Clock test = Clock.offset(Clock.fixed(INSTANT, PARIS), OFFSET); in test_offset_ClockDuration()
65 Clock underlying = Clock.system(PARIS); in test_offset_ClockDuration_zeroDuration()
66 Clock test = Clock.offset(underlying, Duration.ZERO); in test_offset_ClockDuration_zeroDuration()
72 Clock.offset(null, Duration.ZERO); in test_offset_ClockDuration_nullClock()
77 Clock.offset(Clock.systemUTC(), null); in test_offset_ClockDuration_nullDuration()
82 Clock test = Clock.offset(Clock.system(PARIS), OFFSET); in test_withZone()
83 Clock changed = test.withZone(MOSCOW); in test_withZone()
89 Clock test = Clock.offset(Clock.system(PARIS), OFFSET); in test_withZone_same()
[all …]
DTestClock_System.java43 * Test system clock.
53 assertSerializable(Clock.systemUTC()); in test_isSerializable()
54 assertSerializable(Clock.systemDefaultZone()); in test_isSerializable()
55 assertSerializable(Clock.system(PARIS)); in test_isSerializable()
60 Clock system = Clock.systemUTC(); in test_instant()
74 Clock system = Clock.systemUTC(); in test_millis()
89 Clock test = Clock.systemUTC(); in test_systemUTC()
91 assertEquals(test, Clock.system(ZoneOffset.UTC)); in test_systemUTC()
95 Clock test = Clock.systemDefaultZone(); in test_systemDefaultZone()
97 assertEquals(test, Clock.system(ZoneId.systemDefault())); in test_systemDefaultZone()
[all …]
DTestClock_Fixed.java42 * Test fixed clock.
53 assertSerializable(Clock.fixed(INSTANT, ZoneOffset.UTC)); in test_isSerializable()
54 assertSerializable(Clock.fixed(INSTANT, PARIS)); in test_isSerializable()
59 Clock test = Clock.fixed(INSTANT, PARIS); in test_fixed_InstantZoneId()
66 Clock.fixed(null, PARIS); in test_fixed_InstantZoneId_nullInstant()
71 Clock.fixed(INSTANT, null); in test_fixed_InstantZoneId_nullZoneId()
76 Clock test = Clock.fixed(INSTANT, PARIS); in test_withZone()
77 Clock changed = test.withZone(MOSCOW); in test_withZone()
83 Clock test = Clock.fixed(INSTANT, PARIS); in test_withZone_same()
84 Clock changed = test.withZone(PARIS); in test_withZone_same()
[all …]
/external/pigweed/pw_clock_tree/public/pw_clock_tree/
Dclock_tree.h28 /// Abstract base class for a clock tree element of a clock tree.
31 /// functions. For clock tree elements that only get enabled / configured,
34 /// clock tree element.
36 /// Note: Clock tree element classes shouldn't be directly derived from the
44 /// Get reference count for this clock tree element.
57 /// Acquire a reference to the clock tree element.
59 /// Acquiring a reference to a clock tree element ensures that the
60 /// clock tree element is configured and enabled.
62 /// If the clock tree element depends on another clock tree element,
63 /// a reference to the dependent clock tree element will get
[all …]
/external/webrtc/modules/video_coding/timing/
Dtimestamp_extrapolator_unittest.cc21 #include "system_wrappers/include/clock.h"
39 SimulatedClock clock(Timestamp::Millis(1337)); in TEST() local
40 TimestampExtrapolator ts_extrapolator(clock.CurrentTime()); in TEST()
46 clock.AdvanceTime(k25FpsDelay); in TEST()
49 ts_extrapolator.Update(clock.CurrentTime(), rtp); in TEST()
51 Optional(clock.CurrentTime())); in TEST()
54 clock.AdvanceTime(k25FpsDelay); in TEST()
55 ts_extrapolator.Update(clock.CurrentTime(), rtp); in TEST()
57 Optional(clock.CurrentTime())); in TEST()
59 Optional(clock.CurrentTime() + TimeDelta::Seconds(1))); in TEST()
[all …]
Dinter_frame_delay_unittest.cc19 #include "system_wrappers/include/clock.h"
60 // Use a fake clock to simplify time keeping. in TEST()
61 SimulatedClock clock(kStartTime); in TEST() local
65 EXPECT_THAT(inter_frame_delay.CalculateDelay(rtp, clock.CurrentTime()), in TEST()
69 clock.AdvanceTime(kFrameDelay); in TEST()
71 EXPECT_THAT(inter_frame_delay.CalculateDelay(rtp, clock.CurrentTime()), in TEST()
75 clock.AdvanceTime(kFrameDelay - TimeDelta::Millis(3)); in TEST()
77 EXPECT_THAT(inter_frame_delay.CalculateDelay(rtp, clock.CurrentTime()), in TEST()
81 clock.AdvanceTime(kFrameDelay + TimeDelta::Micros(5125)); in TEST()
83 EXPECT_THAT(inter_frame_delay.CalculateDelay(rtp, clock.CurrentTime()), in TEST()
[all …]
Dtiming_unittest.cc15 #include "system_wrappers/include/clock.h"
29 SimulatedClock clock(0); in TEST() local
30 VCMTiming timing(&clock, field_trials); in TEST()
38 timing.IncomingTimestamp(timestamp, clock.CurrentTime()); in TEST()
44 timing.RenderTime(timestamp, clock.CurrentTime()), clock.CurrentTime(), in TEST()
52 clock.AdvanceTimeMilliseconds(1000); in TEST()
56 timing.RenderTime(timestamp, clock.CurrentTime()), clock.CurrentTime(), in TEST()
62 clock.AdvanceTimeMilliseconds(1000); in TEST()
65 timing.RenderTime(timestamp, clock.CurrentTime()), clock.CurrentTime(), in TEST()
72 clock.AdvanceTime(1 / k25Fps); in TEST()
[all …]
/external/sdv/vsomeip/third_party/boost/chrono/example/
Dcycle_count.cpp50 return time_point(duration(++tick)); // fake access to clock cycle count in now()
76 typedef cycle_count<400> clock; in cycle_count_delay() typedef
77 …std::cout << "\nSimulated " << clock::frequency::num / boost::mega::num << "MHz clock which has a … in cycle_count_delay()
78 << duration<double, boost::nano>(clock::duration(1)).count() << " nanoseconds\n"; in cycle_count_delay()
80 clock::duration delay = duration_cast<clock::duration>(delayns); in cycle_count_delay()
82 clock::time_point start = clock::now(); in cycle_count_delay()
83 clock::time_point stop = start + delay; in cycle_count_delay()
84 while (clock::now() < stop) // no multiplies or divides in this loop in cycle_count_delay()
86 clock::time_point end = clock::now(); in cycle_count_delay()
87 clock::duration elapsed = end - start; in cycle_count_delay()
[all …]
/external/threetenbp/src/main/java/org/threeten/bp/
DClock.java43 * A clock providing access to the current instant, date and time using a time-zone.
47 * As such, a clock can be used instead of {@link System#currentTimeMillis()}
50 * Use of a {@code Clock} is optional. All key date-time classes also have a
51 * {@code now()} factory method that uses the system clock in the default time zone.
56 * Best practice for applications is to pass a {@code Clock} into any method
61 * private Clock clock; // dependency inject
64 * if (eventDate.isBefore(LocalDate.now(clock)) {
70 * This approach allows an alternate clock, such as {@link #fixed(Instant, ZoneId) fixed}
71 * or {@link #offset(Clock, Duration) offset} to be used during testing.
74 * system clock This may use {@link System#currentTimeMillis()}, or a higher
[all …]
/external/sdv/vsomeip/third_party/boost/chrono/include/boost/chrono/
Dtime_point.hpp50 template <class Clock, class Duration = typename Clock::duration>
59 template <class Clock, class Duration1, class Duration2>
60 struct common_type<chrono::time_point<Clock, Duration1>,
61 chrono::time_point<Clock, Duration2> >;
69 template <class Clock, class Duration1, class Duration2>
70 struct common_type<chrono::time_point<Clock, Duration1>,
71 chrono::time_point<Clock, Duration2> >
73 typedef chrono::time_point<Clock,
82 template <class Clock, class Duration1, class Rep2, class Period2>
84 time_point<Clock,
[all …]
/external/perfetto/docs/concepts/
Dclock-sync.md1 # Synchronization of multiple clock domains
4 clock domains. On top of the default set of builtin clock domains, new clock
7 Clock domains are allowed to drift from each other.
9 to rebuild the clock graph and use that to re-synchronize events on a global
16 using different clock domains.
20 * On Linux/Android, Ftrace events are emitted using the `CLOCK_BOOTTIME` clock,
26 hardware clock source that drifts from the system clock.
31 To solve this, we allow events to be recorded with different clock domains and
32 re-synchronize them at import time using clock snapshots.
36 Clock synchronization is based on two elements of the trace:
[all …]
/external/sdv/vsomeip/third_party/boost/thread/include/boost/thread/concurrent_queues/
Dsync_timed_queue.hpp30 template <class T, class Clock = chrono::steady_clock, class TimePoint=typename Clock::time_point>
34 typedef Clock clock; typedef
68 // Clock == chrono::steady_clock in limit_timepoint()
72 template <class Clock, class Duration>
73 chrono::time_point<Clock,Duration>
74 limit_timepoint(chrono::time_point<Clock,Duration> const& tp) in limit_timepoint() argument
76 // Clock != chrono::steady_clock in limit_timepoint()
79 …const chrono::time_point<Clock,Duration> tpmax(chrono::time_point_cast<Duration>(Clock::now() + ch… in limit_timepoint()
87 // Clock == chrono::steady_clock in convert_to_steady_clock_timepoint()
91 template <class Clock, class Duration>
[all …]
/external/sdv/vsomeip/third_party/boost/thread/example/
Dshared_mutex.cpp78 typedef boost::chrono::steady_clock Clock; in reader() typedef
80 Clock::time_point until = Clock::now() + boost::chrono::seconds(3); in reader()
81 while (Clock::now() < until) in reader()
93 typedef boost::chrono::steady_clock Clock; in writer() typedef
95 Clock::time_point until = Clock::now() + boost::chrono::seconds(3); in writer()
96 while (Clock::now() < until) in writer()
110 typedef boost::chrono::steady_clock Clock; in try_reader() typedef
112 Clock::time_point until = Clock::now() + boost::chrono::seconds(3); in try_reader()
113 while (Clock::now() < until) in try_reader()
127 typedef boost::chrono::steady_clock Clock; in try_writer() typedef
[all …]
/external/pigweed/pw_clock_tree_mcuxpresso/public/pw_clock_tree_mcuxpresso/
Dclock_tree.h22 /// Class implementing an FRO clock source.
47 /// Class implementing the low power oscillator clock source.
67 /// Class template implementing the MCLK IN clock source.
74 /// Constructor specifying the MCLK IN clock frequency in Hz and
75 /// the dependent clock tree element to enable the MCLK clock source.
80 /// Set MCLK IN clock frequency.
86 /// Set MCLK IN clock frequency to 0 Hz.
96 /// Alias for a blocking MCLK IN clock tree element.
99 /// Alias for a non-blocking MCLK IN clock tree element where updates cannot
104 /// Class template implementing the CLK IN pin clock source and selecting
[all …]
/external/sdv/vsomeip/third_party/boost/chrono/test/io/
Dtime_point_input.cpp13 template <typename Clock, typename D>
16 typedef typename Clock::time_point clock_time_point;
17 typedef typename Clock::duration clock_duration;
18 std::istringstream in(str + boost::chrono::clock_string<Clock, char>::since());
30 template <typename Clock, typename D>
33 typedef boost::chrono::time_point<Clock, D> clock_time_point; in test_good()
34 //typedef typename Clock::duration clock_duration; in test_good()
35 std::istringstream in(str + boost::chrono::clock_string<Clock, char>::since()); in test_good()
51 typedef boost::chrono::system_clock Clock; in test_good_system_clock() typedef
54 boost::chrono::time_point<Clock, D> tp; in test_good_system_clock()
[all …]
/external/cronet/net/third_party/quiche/src/quiche/quic/core/
Dquic_time_accumulator_test.cc14 MockClock clock; in TEST() local
15 clock.AdvanceTime(QuicTime::Delta::FromMilliseconds(1)); in TEST()
20 clock.AdvanceTime(QuicTime::Delta::FromMilliseconds(1)); in TEST()
22 EXPECT_EQ(QuicTime::Delta::Zero(), acc.GetTotalElapsedTime(clock.Now())); in TEST()
26 MockClock clock; in TEST() local
27 clock.AdvanceTime(QuicTime::Delta::FromMilliseconds(1)); in TEST()
30 acc.Start(clock.Now()); in TEST()
33 clock.AdvanceTime(QuicTime::Delta::FromMilliseconds(10)); in TEST()
34 acc.Stop(clock.Now()); in TEST()
37 clock.AdvanceTime(QuicTime::Delta::FromMilliseconds(5)); in TEST()
[all …]
/external/openscreen/util/
Dalarm_unittest.cc20 FakeClock* clock() { return &clock_; } in clock() function in openscreen::__anon6e17f2f30111::AlarmTest
25 FakeClock clock_{Clock::now()};
31 constexpr Clock::duration kDelay = milliseconds(20); in TEST_F()
33 const Clock::time_point alarm_time = FakeClock::now() + kDelay; in TEST_F()
34 Clock::time_point actual_run_time{}; in TEST_F()
37 ASSERT_EQ(Clock::time_point{}, actual_run_time); in TEST_F()
40 clock()->Advance(kDelay / 2); in TEST_F()
41 ASSERT_EQ(Clock::time_point{}, actual_run_time); in TEST_F()
44 clock()->Advance(kDelay / 2); in TEST_F()
48 clock()->Advance(kDelay * 100); in TEST_F()
[all …]
/external/aws-sdk-java-v2/core/profiles/src/test/java/software/amazon/awssdk/profiles/internal/
DProfileFileRefresherTest.java25 import java.time.Clock;
63 AdjustableClock clock = new AdjustableClock(); in refreshIfStale_profileModifiedNoPathSpecified_doesNotReloadProfileFile() local
64 ProfileFileRefresher refresher = refresherWithClock(clock) in refreshIfStale_profileModifiedNoPathSpecified_doesNotReloadProfileFile()
72 updateModificationTime(credentialsFilePath, clock.instant().plusMillis(1)); in refreshIfStale_profileModifiedNoPathSpecified_doesNotReloadProfileFile()
74 clock.tickForward(intervalWithinJitter); in refreshIfStale_profileModifiedNoPathSpecified_doesNotReloadProfileFile()
84 AdjustableClock clock = new AdjustableClock(); in refreshIfStale_profileModifiedWithinJitterPeriod_doesNotReloadProfileFile() local
85 ProfileFileRefresher refresher = refresherWithClock(clock) in refreshIfStale_profileModifiedWithinJitterPeriod_doesNotReloadProfileFile()
93 clock.tickForward(intervalWithinJitter); in refreshIfStale_profileModifiedWithinJitterPeriod_doesNotReloadProfileFile()
95 updateModificationTime(credentialsFilePath, clock.instant()); in refreshIfStale_profileModifiedWithinJitterPeriod_doesNotReloadProfileFile()
106 AdjustableClock clock = new AdjustableClock(); in refreshIfStale_profileModifiedOutsideJitterPeriod_reloadsProfileFile() local
[all …]
/external/sdv/vsomeip/third_party/boost/chrono/test/time_point/
Darithmetic_pass.cpp26 typedef boost::chrono::system_clock Clock; in main() typedef
28 boost::chrono::time_point<Clock, Duration> t(Duration(3)); in main()
33 typedef boost::chrono::system_clock Clock; in main() typedef
35 boost::chrono::time_point<Clock, Duration> t(Duration(3)); in main()
40 typedef boost::chrono::system_clock Clock; in main() typedef
43 boost::chrono::time_point<Clock, Duration1> t1(Duration1(3)); in main()
44 boost::chrono::time_point<Clock, Duration2> t2 = t1 - Duration2(5); in main()
48 typedef boost::chrono::system_clock Clock; in main() typedef
51 BOOST_CONSTEXPR boost::chrono::time_point<Clock, Duration1> t1(Duration1(3)); in main()
52 BOOST_CONSTEXPR boost::chrono::time_point<Clock, Duration2> t2 = t1 - Duration2(5); in main()
[all …]
/external/perfetto/src/trace_processor/importers/common/
Dclock_tracker.cc37 using Clock = protos::pbzero::ClockSnapshot::Clock; typedef
52 // Compute the fingerprint of the snapshot by hashing all clock ids. This is in AddSnapshot()
53 // used by the clock pathfinding logic. in AddSnapshot()
56 hasher.Update(clock_ts.clock.id); in AddSnapshot()
59 // Add a new entry in each clock's snapshot vector. in AddSnapshot()
61 ClockId clock_id = clock_ts.clock.id; in AddSnapshot()
65 if (clock_ts.clock.is_incremental && in AddSnapshot()
69 "Clock sync error: the global clock with id=%" PRId64 in AddSnapshot()
74 domain.unit_multiplier_ns = clock_ts.clock.unit_multiplier_ns; in AddSnapshot()
75 domain.is_incremental = clock_ts.clock.is_incremental; in AddSnapshot()
[all …]

12345678910>>...205