2001-08-09 00:07 GMT+2 Maurilio Longo <maurilio.longo@libero.it>
* source/rtl/seconds.c
* changed HB_CLOKS2SECS to make it return a double (like Seconds()) this way
profiler is able to show not only seconds spent inside a function but even
tenths and hundredths.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2001-08-09 00:07 GMT+2 Maurilio Longo <maurilio.longo@libero.it>
|
||||
* source/rtl/seconds.c
|
||||
* changed HB_CLOKS2SECS to make it return a double (like Seconds()) this way
|
||||
profiler is able to show not only seconds spent inside a function but even
|
||||
tenths and hundredths.
|
||||
|
||||
2001-08-08 23:52 GMT+2 Maurilio Longo <maurilio.longo@libero.it>
|
||||
* include/hbvmpub.h
|
||||
* source/vm/classes.c
|
||||
|
||||
@@ -86,5 +86,5 @@ HB_FUNC( SECONDS )
|
||||
|
||||
HB_FUNC( HB_CLOCKS2SECS )
|
||||
{
|
||||
hb_retnl( hb_parnl( 1 ) / CLOCKS_PER_SEC );
|
||||
hb_retnd((double) hb_parnl( 1 ) / CLOCKS_PER_SEC );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user