Top "Clock" questions

Hardware and system clocks used by drivers, OS and hardware languages.

How do I generate an alert at a specific time in C#?

How can i generate an event at a specific time? For example, say I want to generate an alert at 8:00 …

c# winforms clock
run a basic digital clock in the python shell

I want to code simple digital clock in the python shell. I want to avoid using tkinter if possible. This …

python shell clock digital
How do I get monotonic time durations in python?

I want to log how long something takes in real walltime. Currently I'm doing this: startTime = time.time() someSQLOrSomething() print "…

python linux benchmarking clock
Make countdown start after button is clicked

I'm creating a kid's game with a timer countdown that starts after the user clicks a button. The code I'm …

javascript jquery timer clock countdown
How Do You Programmatically Set the Hardware Clock on Linux?

Linux provides the stime(2) call to set the system time. However, while this will update the system's time, it does …

c linux time clock hwclock
Understanding the different clocks of clock_gettime()

Hi I wanted to use the clock_gettime() function for measuring the performance of my code. I am unable to …

c++ c clock
Making a live clock in javascript

The clock kinda works. But instead of replacing the current time of day it prints a new time of day …

javascript date time setinterval clock
Linux clock_gettime(CLOCK_MONOTONIC) strange non-monotonic behavior

Folks, in my application I'm using clock_gettime(CLOCK_MONOTONIC) in order to measure the delta time between frames (a …

linux gcc clock
VHDL: creating a very slow clock pulse based on a very fast clock

(I'd post this in EE but it seems there are far more VHDL questions here...) Background: I'm using the Xilinx …

vhdl clock fpga
Triggering signal on both edges of the clock

Design requires a signal to be activated at specific circumstance on rising edge of the clock, and deactivated at another …

verilog clock fpga