Home
last modified time | relevance | path

Searched full:nsec (Results 1 – 25 of 30) sorted by relevance

12

/Zephyr-latest/tests/benchmarks/sys_kernel/
DREADME.txt25 DETAILS: Average time for 1 iteration: NNNN nSec
36 DETAILS: Average time for 1 iteration: NNNN nSec
48 DETAILS: Average time for 1 iteration: NNNN nSec
58 DETAILS: Average time for 1 iteration: NNNN nSec
70 DETAILS: Average time for 1 iteration: NNNN nSec
82 DETAILS: Average time for 1 iteration: NNNN nSec
92 DETAILS: Average time for 1 iteration: NNNN nSec
104 DETAILS: Average time for 1 iteration: NNNN nSec
116 DETAILS: Average time for 1 iteration: NNNN nSec
126 DETAILS: Average time for 1 iteration: NNNN nSec
[all …]
/Zephyr-latest/scripts/native_simulator/native/src/
Dnative_rtc.c25 uint32_t nsec; in native_rtc_gettime_us() local
28 hwtimer_get_pseudohost_rtc_time(&nsec, &sec); in native_rtc_gettime_us()
29 return sec * 1000000UL + nsec / 1000U; in native_rtc_gettime_us()
39 * get the simulation time split in nsec and seconds
42 void native_rtc_gettime(int clock_type, uint32_t *nsec, uint64_t *sec) in native_rtc_gettime() argument
46 *nsec = (us % 1000000UL) * 1000U; in native_rtc_gettime()
49 hwtimer_get_pseudohost_rtc_time(nsec, sec); in native_rtc_gettime()
/Zephyr-latest/boards/native/native_posix/
Dnative_rtc.c27 uint32_t nsec; in native_rtc_gettime_us() local
30 hwtimer_get_pseudohost_rtc_time(&nsec, &sec); in native_rtc_gettime_us()
31 return sec * 1000000UL + nsec / 1000U; in native_rtc_gettime_us()
41 * get the simulation time split in nsec and seconds
44 void native_rtc_gettime(int clock_type, uint32_t *nsec, uint64_t *sec) in native_rtc_gettime() argument
48 *nsec = (us % 1000000UL) * 1000U; in native_rtc_gettime()
51 hwtimer_get_pseudohost_rtc_time(nsec, sec); in native_rtc_gettime()
Dnative_rtc.h47 * @brief Get the value of a clock split in nsec and seconds
50 * @param nsec Pointer to store the nanoseconds
51 * @param nsec Pointer to store the seconds
53 void native_rtc_gettime(int clock_type, uint32_t *nsec, uint64_t *sec);
Dtimer_model.h33 void hwtimer_get_pseudohost_rtc_time(uint32_t *nsec, uint64_t *sec);
/Zephyr-latest/scripts/native_simulator/native/src/include/
Dnative_rtc.h46 * @brief Get the value of a clock split in nsec and seconds
49 * @param nsec Pointer to store the nanoseconds
50 * @param nsec Pointer to store the seconds
52 void native_rtc_gettime(int clock_type, uint32_t *nsec, uint64_t *sec);
Dnsi_timer_model.h32 void hwtimer_get_pseudohost_rtc_time(uint32_t *nsec, uint64_t *sec);
/Zephyr-latest/dts/bindings/led_strip/
Dworldsemi,ws2812-gpio.yaml82 voltage period (default 700 nsec)
88 voltage period (default 600 nsec)
94 voltage period (default 350 nsec)
100 voltage period (default 800 nsec)
/Zephyr-latest/tests/benchmarks/wait_queues/src/
Dutils.h33 #define PRINT_F(summary, cycles, nsec) \ argument
39 snprintk(nsec_str, 30, NSEC_FORMAT, nsec); \
Dmain.c203 printk(" Minimum : %7llu cycles (%7u nsec)\n", minimum, in compute_and_report_stats()
205 printk(" Maximum : %7llu cycles (%7u nsec)\n", maximum, in compute_and_report_stats()
207 printk(" Average : %7llu cycles (%7u nsec)\n", average, in compute_and_report_stats()
209 printk(" Std Deviation: %7llu cycles (%7u nsec)\n", std_dev, in compute_and_report_stats()
/Zephyr-latest/drivers/led_strip/
DKconfig.ws281260 …er of NOP assembly operations to create a delay for a 1 bit, high voltage period (default 700 nsec)
70 …ber of NOP assembly operations to create a delay for a 1 bit, low voltage period (default 600 nsec)
80 …er of NOP assembly operations to create a delay for a 0 bit, high voltage period (default 350 nsec)
90 …er of NOP assembly operations to create a delay for a 0 bit, low voltage period (default 800 nsec)
/Zephyr-latest/tests/benchmarks/sched_queues/src/
Dutils.h35 #define PRINT_F(summary, cycles, nsec) \ argument
41 snprintk(nsec_str, 30, NSEC_FORMAT, nsec); \
Dmain.c214 printk(" Minimum : %7llu cycles (%7u nsec)\n", minimum, in compute_and_report_stats()
216 printk(" Maximum : %7llu cycles (%7u nsec)\n", maximum, in compute_and_report_stats()
218 printk(" Average : %7llu cycles (%7u nsec)\n", average, in compute_and_report_stats()
220 printk(" Std Deviation: %7llu cycles (%7u nsec)\n", std_dev, in compute_and_report_stats()
/Zephyr-latest/tests/drivers/pwm/pwm_api/src/
Dtest_pwm.c9 * @brief Verify PWM can work well when configure through nsec,
153 /* Period : Pulse (2000000 : 1000000), unit (nsec). Voltage : 1.65V */ in ZTEST_USER()
158 /* Period : Pulse (2000000 : 2000000), unit (nsec). Voltage : 3.3V */ in ZTEST_USER()
163 /* Period : Pulse (2000000 : 0), unit (nsec). Voltage : 0V */ in ZTEST_USER()
/Zephyr-latest/include/zephyr/net/
Dptp_time.h227 * @param nsec a nanosecond precision timestamp
231 static inline struct net_ptp_time ns_to_net_ptp_time(net_time_t nsec) in ns_to_net_ptp_time() argument
235 __ASSERT_NO_MSG(nsec >= 0); in ns_to_net_ptp_time()
237 ts.second = nsec / NSEC_PER_SEC; in ns_to_net_ptp_time()
238 ts.nanosecond = nsec % NSEC_PER_SEC; in ns_to_net_ptp_time()
/Zephyr-latest/samples/basic/blinky_pwm/
Dsample.yaml17 - "Done calibrating; maximum/minimum periods [0-9]+/[0-9]+ nsec"
/Zephyr-latest/drivers/pwm/
Dpwm_shell.c151 SHELL_CMD_ARG(nsec, &dsub_device_name, "<device> <channel> <period in nsec> "
152 "<pulse width in nsec> [flags]", cmd_nsec, 5, 1),
/Zephyr-latest/tests/benchmarks/latency_measure/src/
Dutils.h74 #define PRINT_F(summary, cycles, nsec, error, notes) \ argument
81 snprintk(nsec_str, 30, NSEC_FORMAT, nsec); \
/Zephyr-latest/tests/benchmarks/app_kernel/src/
Dmailbox_b.c15 ("| size(B) | time/packet (nsec) | KB/sec" \
24 PRINT_F("| message overhead: %10u nsec/packet " \
Dpipe_b.c12 PRINT_STRING("| size(B) | time/packet (nsec) | " \
25 PRINT_STRING("| size(B) | time/packet (nsec) |" \
/Zephyr-latest/tests/benchmarks/sys_kernel/src/
Dsyskernel.h51 #define sz_case_timing_fmt "%u nSec"
/Zephyr-latest/tests/benchmarks/app_kernel/
DREADME.txt18 | S I M P L E S E R V I C E M E A S U R E M E N T S | nsec |
44 | size(B) | time/packet (nsec) | KB/sec |
59 | message overhead: NNNNNN nsec/packet |
68 | size(B) | time/packet (nsec) | KB/sec |
85 | size(B) | time/packet (nsec) | KB/sec |
102 | size(B) | time/packet (nsec) | KB/sec |
/Zephyr-latest/samples/basic/blinky_pwm/src/
Dmain.c56 printk("Done calibrating; maximum/minimum periods %u/%lu nsec\n", in main()
/Zephyr-latest/samples/drivers/counter/maxim_ds3231/src/
Dmain.c17 long nsec) in format_time() argument
26 if (nsec >= 0) { in format_time()
27 bp += snprintf(bp, bpe - bp, ".%09lu", nsec); in format_time()
/Zephyr-latest/include/zephyr/drivers/
Dpwm.h650 * @param[out] nsec Pointer to the memory to store the calculated nsec.
657 uint32_t cycles, uint64_t *nsec) in pwm_cycles_to_nsec() argument
672 *nsec = temp / cycles_per_sec; in pwm_cycles_to_nsec()
891 * width (in nsec).
893 * (in nsec).

12