lua-users home
lua-l archive

Re: [ANN] LuaProfiler 2.0

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Rici Lake wrote:
On 15-Jun-05, at 10:39 AM, Diego Nehab wrote:
Hi,
Just to toss this out:
 http://www.virtualdub.org/blog/pivot/entry.php?id=53
Are you using D3D, or something else that plays with the FPUCW?
This is amazing... thanks for the link. I *am* using D3D, and although I
don't plan to run my app for more than a few minutes, someone else might.
It is amazing... the things that happen on a Windows platform :)
Single-precision is going to give you microsecond precision up to 16 seconds and millisecond precision up to about four hours; that might be enough, but it seems unnecessary. (Also I suspect that it is not relevant how long the application has run, but rather how long it has been since the machine has rebooted, but I really know zip about Windows so I could be wrong.)
Yes, the value in the counter is from when the CPU started. I used the trick of subtracting off the value of the counter when the CPU started. But even with this, 4 hours to millisecond resolution is not acceptable in our app!
--
chris marrin ,"",ドル
chris@marrin.com b` $ ,,.
 mP b' , 1$'
 ,.` ,b` ,` :$$'
 ,|` mP ,` ,mm
 ,b" b" ,` ,mm m$$ ,m ,`P$$
 m$` ,b` .` ,mm ,'|$P ,|"1$` ,b$P ,` :1ドル
 b$` ,$: :,`` |$$ ,` $$` ,|` ,$,,ドル`"$$ .` :$|
b$| _m$`,:` :1ドル ,` ,$Pm|` ` :$,ドル..;"' |$:
P$b, _;b$$b1ドル" |$$ ,` ,$$" ``' $$
 ```"```'" `"` `""` ""` ,P`
"As a general rule,don't solve puzzles that open portals to Hell"'

AltStyle によって変換されたページ (->オリジナル) /