justin = {
main feed
,
music
,
code
= {
cockos
,
reaper
,
wdl
,
ninjam
,
jsfx
,
more
}
,
askjf
,
pubkey
};
Ask Justin Frankel
No reasonable question unanswered since 2009!
Suggested topics: programming, music, sleep, coffee, etc.
Note: please do not ask questions about REAPER features, bugs or scheduling, use the
forums
instead.
Name:
Ask:
Human (enter yes):
[
back to index
] | [
unreplied
] | [
replied
] | [
recent comments
] | [
all
]
Question:
In calculating frames per second, how do you calc how long each frame takes to produce? wouldn't calling some cpu timer function add overhead?
Asked by Will (70.173.150.x) on September 8 2013, 5:44am
Reply on September 8 2013, 9:53pm (edited at September 8 2013, 9:56pm):
Nah, cpuid probably is 100-200 cycles I'd guess, but even the Windows functions are pretty quick (
this (google cache)
was interesting but probably very out of date
). I'd just check the time every X seconds and see how many frames have happened, unless you want a histogram of how long each frame takes to render...
Comment:
Your Name:
-- Site Owner's Name:
(for human-verification) Comment:
[
back to index
] | [
unreplied
] | [
replied
] | [
recent comments
] | [
all
]
Copyright 2025 Justin Frankel
.
|
RSS