News for hackers. Stuff that matters.
Re:Intel Performance Hit 5x Harder Than AMD After Spectre, M... by jmkni on Tuesday May 21, 2019 @10:53AM (#19970674)
Proper dumb-ass question here, so please forgive.

When you talk about timers and resolution, what do you actually mean? When I hear timer, I think about setTimeout, when I hear resolution, I'm thinking about screen resolutions.

Is that what you mean, or are you referring to other things?

Re:Intel Performance Hit 5x Harder Than AMD After Spectre, M... by chillee on Tuesday May 21, 2019 @11:45AM (#19971255)
A timer simply reports the current time. In this context, people are using timers to calculate how long an operation takes.

Resolution is the precision that the timer reports the time. For example, it could report seconds elapsed (e.g: 8 seconds), it could report milliseconds (8.432 seconds), it could report microseconds (8.432389 seconds), etc.

Attackers want high resolution timers so that they can distinguish cache hits from misses (8.432389 seconds vs 8.432367 seconds, for example).

Re:Intel Performance Hit 5x Harder Than AMD After Spectre, M... by jmkni on Tuesday May 21, 2019 @12:17PM (#19971611)
Awesome thankyou!
Re:Intel Performance Hit 5x Harder Than AMD After Spectre, M... by hmschreck on Tuesday May 21, 2019 @11:08AM (#19970818)
In this case, a higher resolution timer might be accurate to microseconds, while a lower resolution might be accurate down to milliseconds. Resolution here is about how low you can drill down before it becomes useless.