Skip to main content
Commonmark migration
Source Link

#Update: Changes after reading answers.

Update: Changes after reading answers.

#Update: Changes after reading answers.

Update: Changes after reading answers.

edited tags
Link
200_success
  • 144.2k
  • 22
  • 188
  • 473
added 6 characters in body; edited tags
Source Link
Jamal
  • 34.9k
  • 13
  • 133
  • 237

I wrote this class today, but I am trying to figure out how to make it more accurate. I pass in seconds and multiply by 1000 to make it milliseconds, and the time does not line up. I need the ability to have multiple timers, so using timer_gettime()timer_gettime(), which limits one clock per process, is not an option. Also note I borrowed my idea from free glut.

I wrote this class today, but I am trying to figure out how to make it more accurate. I pass in seconds and multiply by 1000 to make it milliseconds and the time does not line up. I need the ability to have multiple timers so using timer_gettime() which limits one clock per process is not an option. Also note I borrowed my idea from free glut.

I wrote this class today, but I am trying to figure out how to make it more accurate. I pass in seconds and multiply by 1000 to make it milliseconds, and the time does not line up. I need the ability to have multiple timers, so using timer_gettime(), which limits one clock per process, is not an option. Also note I borrowed my idea from free glut.

added 33 characters in body
Source Link
Loki Astari
  • 96.6k
  • 5
  • 125
  • 338
Loading
added 9145 characters in body
Source Link
Matthew Hoggan
  • 1.9k
  • 3
  • 20
  • 36
Loading
Tweeted twitter.com/#!/StackCodeReview/status/165441971396153345
Source Link
Matthew Hoggan
  • 1.9k
  • 3
  • 20
  • 36
Loading