/openbmc/linux/include/trace/events/ |
H A D | osnoise.h | 11 TP_PROTO(struct task_struct *t, u64 start, u64 duration), 13 TP_ARGS(t, start, duration), 18 __field( u64, duration) 26 __entry->duration = duration; 29 TP_printk("%8s:%d start %llu.%09u duration %llu ns", 34 __entry->duration) 39 TP_PROTO(int vector, u64 start, u64 duration), 41 TP_ARGS(vector, start, duration), 45 __field( u64, duration) 52 __entry->duration = duration; [all …]
|
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/chassis/obmc-phosphor-buttons/ |
H A D | gpio_defs.json | 15 "duration": 0, number 19 "duration": 4000, number 23 "duration": 8000, number 34 "duration": 0, number 38 "duration": 4000, number 42 "duration": 8000, number 53 "duration": 0, number 57 "duration": 4000, number 61 "duration": 8000, number 72 "duration": 0, number [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/arm64/arm/cortex-a73/ |
H A D | mmu.json | 3 "PublicDescription": "Duration of a translation table walk handled by the MMU", 6 "BriefDescription": "Duration of a translation table walk handled by the MMU" 9 "PublicDescription": "Duration of a Stage 1 translation table walk handled by the MMU", 12 "BriefDescription": "Duration of a Stage 1 translation table walk handled by the MMU" 15 "PublicDescription": "Duration of a Stage 2 translation table walk handled by the MMU", 18 "BriefDescription": "Duration of a Stage 2 translation table walk handled by the MMU" 21 "PublicDescription": "Duration of a translation table walk requested by the LSU", 24 "BriefDescription": "Duration of a translation table walk requested by the LSU" 27 … "PublicDescription": "Duration of a translation table walk requested by the Instruction Side", 30 "BriefDescription": "Duration of a translation table walk requested by the Instruction Side" [all …]
|
H A D | pipeline.json | 15 "PublicDescription": "Duration for which all slots in the Load-Store Unit are busy", 18 "BriefDescription": "Duration for which all slots in the Load-Store Unit are busy" 21 "PublicDescription": "Duration for which all slots in the load-store issue queue are busy", 24 "BriefDescription": "Duration for which all slots in the load-store issue queue are busy" 27 … "PublicDescription": "Duration for which all slots in the data processing issue queue are busy", 30 … "BriefDescription": "Duration for which all slots in the data processing issue queue are busy" 33 "PublicDescription": "Duration for which all slots in the Data Engine issue queue are busy", 36 "BriefDescription": "Duration for which all slots in the Data Engine issue queue are busy"
|
/openbmc/linux/tools/perf/pmu-events/arch/arm64/arm/cortex-a75/ |
H A D | mmu.json | 3 "PublicDescription": "Duration of a translation table walk handled by the MMU", 6 "BriefDescription": "Duration of a translation table walk handled by the MMU" 9 …"PublicDescription": "Duration of a Stage 1 translation table walk handled by the MMU. This event … 12 …"BriefDescription": "Duration of a Stage 1 translation table walk handled by the MMU. This event i… 15 …"PublicDescription": "Duration of a Stage 2 translation table walk handled by the MMU. This event … 18 …"BriefDescription": "Duration of a Stage 2 translation table walk handled by the MMU. This event i… 21 "PublicDescription": "Duration of a translation table walk requested by the LSU", 24 "BriefDescription": "Duration of a translation table walk requested by the LSU" 27 … "PublicDescription": "Duration of a translation table walk requested by the instruction side", 30 "BriefDescription": "Duration of a translation table walk requested by the instruction side" [all …]
|
H A D | pipeline.json | 21 "PublicDescription": "Duration for which all slots in the Load-Store Unit (LSU) are busy", 24 "BriefDescription": "Duration for which all slots in the Load-Store Unit (LSU) are busy" 27 …"PublicDescription": "Duration for which all slots in the load-store issue queue are busy. This ev… 30 …"BriefDescription": "Duration for which all slots in the load-store issue queue are busy. This eve… 33 …"PublicDescription": "Duration for which all slots in the data processing issue queue are busy. Th… 36 …"BriefDescription": "Duration for which all slots in the data processing issue queue are busy. Thi… 39 …"PublicDescription": "Duration for which all slots in the data engine issue queue are busy. This e… 42 …"BriefDescription": "Duration for which all slots in the data engine issue queue are busy. This ev…
|
/openbmc/linux/Documentation/leds/ |
H A D | ledtrig-transient.rst | 68 This trigger exports three properties, activate, state, and duration. When 71 - duration allows setting timer value in msecs. The initial value is 0. 73 duration as needed. The initial and default value is 0. This will allow 74 duration to be set after trigger activation. 76 duration. 82 to allow duration to be set. 85 duration running. 89 duration 90 - one shot timer value. When activate is set, duration value 93 echo new_value > duration [all …]
|
/openbmc/linux/drivers/media/rc/ |
H A D | rc-core-priv.h | 182 static inline void decrease_duration(struct ir_raw_event *ev, unsigned duration) in decrease_duration() argument 184 if (duration > ev->duration) in decrease_duration() 185 ev->duration = 0; in decrease_duration() 187 ev->duration -= duration; in decrease_duration() 203 u32 duration) in init_ir_raw_event_duration() argument 206 .duration = duration, in init_ir_raw_event_duration() 213 * @leader_pulse: duration of leader pulse (if any) 0 if continuing 215 * @leader_space: duration of leader space (if any) 216 * @clock: duration of each pulse/space in ns 219 * @trailer_space: duration of trailer space in ns [all …]
|
H A D | ir-xmp-decoder.c | 19 /* should be 80ms but not all duration supliers can go that high */ 46 data->state, data->count, ev.duration, TO_STR(ev.pulse)); in ir_xmp_decode() 54 if (eq_margin(ev.duration, XMP_LEADER, XMP_UNIT / 2)) { in ir_xmp_decode() 65 if (eq_margin(ev.duration, XMP_LEADER, XMP_UNIT / 2)) in ir_xmp_decode() 74 if (geq_margin(ev.duration, XMP_TRAILER_SPACE, XMP_NIBBLE_PREFIX)) { in ir_xmp_decode() 82 data->count, ev.duration); in ir_xmp_decode() 147 } else if (geq_margin(ev.duration, XMP_HALFFRAME_SPACE, XMP_NIBBLE_PREFIX)) { in ir_xmp_decode() 151 data->count, ev.duration); in ir_xmp_decode() 162 data->count, ev.duration); in ir_xmp_decode() 167 } else if (geq_margin(ev.duration, XMP_NIBBLE_PREFIX, XMP_UNIT)) { in ir_xmp_decode() [all …]
|
/openbmc/qemu/tests/unit/ |
H A D | rcutorture.c | 10 * number of updaters and specified duration. 13 * number of readers and one updater and specified duration. 17 * n_reads: 46008000 n_updates: 146026 nreaders: 2 nupdaters: 1 duration: 1 22 * threads, and the duration of the test in seconds. The second line 23 * lists the average duration of each type of operation in nanoseconds, 172 static void perftestrun(int nthreads, int duration, int nreaders, int nupdaters) in perftestrun() argument 178 g_usleep(duration * G_USEC_PER_SEC); in perftestrun() 181 printf("n_reads: %lld n_updates: %ld nreaders: %d nupdaters: %d duration: %d\n", in perftestrun() 182 n_reads, n_updates, nreaders, nupdaters, duration); in perftestrun() 184 ((duration * 1000*1000*1000.*(double)nreaders) / in perftestrun() [all …]
|
/openbmc/linux/net/mac80211/ |
H A D | airtime.c | 30 /* Transmit duration for the raw data part of an average sized packet */ 51 /* Transmit duration for the raw data part of an average sized packet */ 91 #define GROUP_SHIFT(duration) \ argument 92 _MAX(0, 16 - __builtin_clz(duration)) 98 .duration = { \ 129 .duration = { \ 171 .duration = { \ 208 u16 duration[MCS_GROUP_RATES]; member 385 u32 duration; in ieee80211_calc_legacy_rate_duration() local 388 duration = 144 + 48; /* preamble + PLCP */ in ieee80211_calc_legacy_rate_duration() [all …]
|
/openbmc/webui-vue/docs/guide/guidelines/ |
H A D | motion.md | 35 ## Duration section in Motion 37 Duration is calculated based on the style and size of the motion. Among the two 39 Motion’s duration should be dynamic based on the size of the animation; the 43 ### Duration tokens argument 46 $duration--fast-01: 70ms; //Micro-interactions such as button and toggle 47 $duration--fast-02: 110ms; //Micro-interactions such as fade 48 $duration--moderate-01: 150ms; //Micro-interactions, small expansion, short distance movements 49 $duration--moderate-02: 240ms; //Expansion, system communication, toast 50 $duration--slow-01: 400ms; //Large expansion, important system notifications 51 $duration--slow-02: 700ms; //Background dimming
|
/openbmc/telemetry/src/metrics/ |
H A D | collection_data.cpp | 37 CollectionDuration duration) : in DataInterval() argument 38 function(std::move(function)), duration(duration) in DataInterval() 40 if (duration.t.count() == 0) in DataInterval() 77 timestamp - nextItemTimestamp > duration.t) in cleanup() 85 if (timestamp > duration.t) in cleanup() 88 timestamp - duration.t); in cleanup() 94 CollectionDuration duration; member in metrics::DataInterval 128 CollectionDuration duration) in makeCollectionData() argument 140 [cf = makeCollectionFunction(op), duration] { in makeCollectionData() 141 return std::make_unique<DataInterval>(cf, duration); in makeCollectionData()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | time-event.h | 20 * and for a certain duration, the driver needs to issue a time event. 32 * time and for a certain duration, it sends a Time Event. The flow against the 41 * What is the duration of the event? 65 * @duration: the duration of the session in TU. 81 u32 duration, u32 min_duration, 108 * @duration: the requested duration in millisecond for the fw to be on the 113 * which means that the fw will stay in the channel for the request %duration 121 int duration, enum ieee80211_roc_type type); 169 * @duration: the duration of the NoA in TU. 177 u32 duration, u32 apply_time); [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_progs.h | 186 #define _CHECK(condition, tag, duration, format...) ({ \ argument 195 __func__, tag, duration); \ 213 _CHECK(condition, tag, duration, format) 215 _CHECK(condition, tag, tattr.duration, format) 218 static int duration = 0; \ 224 static int duration = 0; \ 231 static int duration = 0; \ 238 static int duration = 0; \ 249 static int duration = 0; \ 260 static int duration = 0; \ [all …]
|
/openbmc/linux/tools/testing/selftests/netfilter/ |
H A D | nft_zones_many.sh | 88 local duration=$((stop-start)) 89 echo "PASS: added 1000 entries in $duration ms (now $i total, loop $j)" 94 local duration=$((stop-outerstart)) 97 echo "PASS: inserted $count entries from packet path in $duration ms total" 100 …echo "FAIL: inserted $count entries from packet path in $duration ms total, expected $max_zones en… 134 local duration=$((stop-start)) 135 echo "PASS: added 1000 entries in $duration ms (now $i total)" 141 local duration=$((stop-outerstart)) 144 echo "PASS: inserted $count entries via ctnetlink in $duration ms" 147 …o "FAIL: inserted $count entries via ctnetlink in $duration ms, expected $max_zones entries ($dura…
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_lirc_mode2_kern.c | 14 unsigned int duration = LIRC_VALUE(*sample); in bpf_decoder() local 16 if (duration & 0x10000) in bpf_decoder() 17 bpf_rc_keydown(sample, 0x40, duration & 0xffff, 0); in bpf_decoder() 18 if (duration & 0x20000) in bpf_decoder() 19 bpf_rc_pointer_rel(sample, (duration >> 8) & 0xff, in bpf_decoder() 20 duration & 0xff); in bpf_decoder()
|
/openbmc/sdeventplus/src/sdeventplus/utility/ |
H A D | timer.hpp | 38 /** @brief Type used to represent a time duration for the timer 41 using Duration = typename Clock<Id>::duration; typedef in sdeventplus::utility::Timer 62 std::optional<Duration> interval = std::nullopt, 123 * @return The interval as an std::chrono::duration 125 std::optional<Duration> getInterval() const; 131 * @return The remaining time as an std::chrono::duration 133 Duration getRemaining() const; 150 void setRemaining(Duration remaining); 163 void setInterval(std::optional<Duration> interval); 176 void restart(std::optional<Duration> interval); [all …]
|
H A D | timer.cpp | 16 std::optional<Duration> interval, in Timer() 20 Clock<Id>(event).now() + interval.value_or(Duration::zero()), in Timer() 78 std::optional<typename Timer<Id>::Duration> Timer<Id>::getInterval() const in getInterval() 84 typename Timer<Id>::Duration Timer<Id>::getRemaining() const in getRemaining() 95 return Duration{0}; in getRemaining() 112 void Timer<Id>::setRemaining(Duration remaining) in setRemaining() 125 void Timer<Id>::setInterval(std::optional<Duration> interval) in setInterval() 137 void Timer<Id>::restart(std::optional<Duration> interval) in restart() 150 void Timer<Id>::restartOnce(Duration remaining) in restartOnce() 191 std::optional<typename Timer<Id>::Duration> interval) : in TimerData()
|
/openbmc/bmcweb/redfish-core/include/utils/ |
H A D | time_utils.hpp | 21 * @brief Convert string that represents value in Duration Format to its numeric 27 * @brief Convert time value into duration format that is based on ISO 8601. 29 * Ref: Redfish Specification, Section 9.4.4. Duration values 63 using usSinceEpoch = std::chrono::duration<int64_t, std::micro>; in fromDurationString() 213 std::string duration = toDurationString(std::chrono::milliseconds(timeMs)); toDurationStringFromUint() local
|
/openbmc/linux/drivers/char/tpm/ |
H A D | tpm1-cmd.c | 282 * tpm1_calc_ordinal_duration() - calculate the maximum command duration 289 * Return: A maximal duration time for an ordinal in jiffies. 294 int duration = 0; in tpm1_calc_ordinal_duration() local 297 * We only have a duration table for protected commands, where the upper in tpm1_calc_ordinal_duration() 304 duration = chip->duration[duration_idx]; in tpm1_calc_ordinal_duration() 305 if (duration <= 0) in tpm1_calc_ordinal_duration() 308 return duration; in tpm1_calc_ordinal_duration() 419 sizeof(cap.duration)); in tpm1_get_timeouts() 423 chip->duration[TPM_SHORT] = in tpm1_get_timeouts() 424 usecs_to_jiffies(be32_to_cpu(cap.duration.tpm_short)); in tpm1_get_timeouts() [all …]
|
/openbmc/linux/tools/power/cpupower/utils/ |
H A D | cpufreq-info.c | 87 static void print_duration(unsigned long duration) in print_duration() argument 92 if (duration > 1000000) in print_duration() 93 printf("%u.%06u ms", ((unsigned int) duration/1000000), in print_duration() 94 ((unsigned int) duration%1000000)); in print_duration() 95 else if (duration > 100000) in print_duration() 96 printf("%u us", ((unsigned int) duration/1000)); in print_duration() 97 else if (duration > 1000) in print_duration() 98 printf("%u.%03u us", ((unsigned int) duration/1000), in print_duration() 99 ((unsigned int) duration%1000)); in print_duration() 101 printf("%lu ns", duration); in print_duration() [all …]
|
/openbmc/webui-vue/src/assets/styles/bmc/helpers/ |
H A D | _motion.scss | 1 $duration--fast-01: 70ms; //Micro-interactions such as button and toggle 2 $duration--fast-02: 110ms; //Micro-interactions such as fade 3 $duration--moderate-01: 150ms; //Micro-interactions, small expansion, short distance movements 4 $duration--moderate-02: 240ms; //Expansion, system communication, toast 5 $duration--slow-01: 400ms; //Large expansion, important system notifications 6 $duration--slow-02: 700ms; //Background dimming
|
/openbmc/phosphor-webui/app/common/styles/base/ |
H A D | variables.scss | 1 $duration--fast-01: 70ms; //Micro-interactions such as button and toggle 2 $duration--fast-02: 110ms; //Micro-interactions such as fade 3 $duration--moderate-01: 150ms; //Micro-interactions, small expansion, short distance movements 4 $duration--moderate-02: 240ms; //Expansion, system communication, toast 5 $duration--slow-01: 400ms; //Large expansion, important system notifications 6 $duration--slow-02: 700ms; //Background dimming
|
/openbmc/linux/drivers/base/test/ |
H A D | test_async_driver_probe.c | 106 unsigned long long duration; in test_async_probe_init() local 136 duration = (unsigned long long)ktime_ms_delta(ktime_get(), calltime); in test_async_probe_init() 137 pr_info("registration took %lld msecs\n", duration); in test_async_probe_init() 138 if (duration > TEST_PROBE_THRESHOLD) { in test_async_probe_init() 163 duration = (unsigned long long)ktime_ms_delta(ktime_get(), calltime); in test_async_probe_init() 165 "registration took %lld msecs\n", duration); in test_async_probe_init() 166 if (duration > TEST_PROBE_THRESHOLD) { in test_async_probe_init() 198 duration = (unsigned long long)ktime_ms_delta(ktime_get(), calltime); in test_async_probe_init() 199 pr_info("registration took %lld msecs\n", duration); in test_async_probe_init() 200 if (duration < TEST_PROBE_THRESHOLD) { in test_async_probe_init() [all …]
|