Timeline for What on earth is a [tick]?
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 6, 2014 at 23:19 | comment | added | user149341 | @BenVoigt It's not exactly measuring clock cycles, but it's something very closely related to them. Anyways, the point is, "CPU cycles", "CPU ticks", and "ticks of the CPU clock" are synonymous; but "ticks" alone is a generic term that can mean any short period of time. | |
Nov 6, 2014 at 23:02 | comment | added | Ben Voigt |
@duskwuff: rdtsc doesn't count cycles on modern x86 CPUs, though.
|
|
Jun 19, 2014 at 15:10 | comment | added | user149341 |
Wait, what? CPU cycles are not "artificial" at all. There are tons of ways to measure them — for instance, rdtsc on x86 hardware, SysTick on ARM…
|
|
Jun 19, 2014 at 6:37 | comment | added | Lundin | @duskwuff Read the Wiki link, it speaks of ticks not cycles. The CPU depends on a clock to work, and one tick of that clock happens to be the same thing as a cycle. The difference is that tick is a measurable unit: you cannot measure cycles, they are an artificial term which you can only calculate in theory. | |
Jun 18, 2014 at 19:32 | comment | added | user149341 | Even in terms of execution time, the definition of a "tick" is not clear. The definition you're aiming at is much more commonly known as a CPU cycle — a "tick" is more often defined in terms of clock time, typically 1/60 or 1/100 of a second. | |
Jun 18, 2014 at 10:16 | history | edited | Lundin | CC BY-SA 3.0 |
added 21 characters in body
|
Jun 18, 2014 at 10:00 | history | answered | Lundin | CC BY-SA 3.0 |