Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
2 votes
0 answers
42 views

I am using a BPF probe on sys_execve() to log current->start_boottime along with UID, GID, nspid etc. The probe also logs the current time using bpf_ktime_get_ns(). I am logging start_boottime a.k....
1 vote
0 answers
101 views

I'm building a high-performance tick simulator in C++ that generates market-like ticks (up to 65,536 per second). Now, I want to send these ticks to another local process on the same Linux machine in ...
3 votes
1 answer
368 views

uint64_t getTimeLatencyNs() { struct timespec ts1; struct timespec ts2; clock_gettime(CLOCK_MONOTONIC_RAW, &ts1); clock_gettime(CLOCK_MONOTONIC_RAW, &ts2); return ((ts2....
Mo_'s user avatar
  • 2,101
0 votes
1 answer
197 views

I simply need to show the clock on a panel with BackgroundImage, but still appears with black background, I set the innercolor and outercolor of the analog clock to transparent, I have been doing some ...
3 votes
1 answer
296 views

To get a sense of how accurate Instant.now() is on various machines, I ran a very simple test to see how often the clock updated: public class Test { private static final Logger logger = ...
1 vote
0 answers
61 views

So, in my program I am trying to achieve microsecond precision, not only for counting purposes but also delays and sleep functions. I have tried all the functions like time.time or time....
13 votes
2 answers
539 views

I'm writing a C++ library, which works with data that has some time values in it - values that do not originate in the system the library runs on. I want to put such values in std::chrono::time_point'...
1 vote
0 answers
58 views

I'm working with sockets and attempting to read them with a timeout, using the SO_RCVTIMEO option, but I'm getting weird behavior that suggests to me I don't understand what's going on under the hood. ...
1 vote
1 answer
97 views

I've tried to research this as thoroughly as I could but cannot find where this is documented anywhere. If anyone is aware of a resource that describes this behavior that would be very helpful to me. ...
Dan B.'s user avatar
  • 33
0 votes
0 answers
139 views

` void SystemClock_Config(void) { LL_FLASH_SetLatency(LL_FLASH_LATENCY_4); while(LL_FLASH_GetLatency()!= LL_FLASH_LATENCY_4) { } // PWR Clock Enable? // LL_PWR_SetRegulVoltageScaling(...
0 votes
0 answers
37 views

void SystemClock_Config(void) { LL_FLASH_SetLatency(LL_FLASH_LATENCY_4); while(LL_FLASH_GetLatency() != LL_FLASH_LATENCY_4); #if 1 LL_APB1_GRP1_EnableClock(LL_APB1_GRP1_PERIPH_PWR); #...
0 votes
0 answers
113 views

I am creating an app that contains a clock widget. I want to keep the widget updating preferable every second. I've had some luck creating a long timeline - but i'm still running into the throttling ...
0 votes
0 answers
47 views

I now access a peripheral device using the SPI interface on the Linux environment. Access to this device is okay. I want to change the SPI CLK, but it is not changed by the clk setting value. The ...
2 votes
0 answers
60 views

In my setup, there is a clock generator that use the common clock framework in the Linux kernel. The clock generator has an output clock that I would like to feed to an external connector. If I have ...
2 votes
1 answer
143 views

I want to run simple test code in C on the Renesas Synergy R7FS5D97E evaluation board (Cortex M4). I made a sample project + SDK and toolchain projects using official materials, successfully built and ...
Xellos's user avatar
  • 754

15 30 50 per page
1
2 3 4 5
...
138

AltStyle によって変換されたページ (->オリジナル) /