X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 07 Feb 2006 12:50 PM by  anon
Cpature CPU Seconds
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
07 Feb 2006 12:50 PM
    Does anyone know how to capture CPU seconds in IDL? Not wall clock time with systime(1) but actual CPU seconds using some other IDL library or xxx.pro file of some sort.

    Deleted User



    New Member


    Posts:
    New Member


    --
    07 Feb 2006 12:50 PM
    IDL's SYSTIME DOES capture CPU seconds. It makes a query via the C interface to the operating system via C's "systime()" function. Different operating systems have different "granularity" for the value they return back to this query. Windows is notorious for providing poor precision in this case. For Windows users, one of our engineers posted in RSI's User Contrib Library site a small DLM interface for much more precise time-querying in IDL. Though it is written in C, it can automatically be called from within IDL. Check out his contribution at the following URL: http://www.rsinc.com/code...k/search.asp?FID=262 James Jones
    You are not authorized to post a reply.