Views
Foundation Package API Reference Guide
Product Documentation:
Views Documentation Home
Typedefs | Functions
runtime.h File Reference
#include <ilviews/macros.h>

Typedefs

typedef IlDouble IlvRunTimeType
 

Functions

IlvRunTimeType IlvRunTime ()
 Gets the current CPU date. More...
 

Detailed Description

Library: xviews or winviews or mviews (mutually exclusive)
Declaration of the IlvRunTime function.

Typedef Documentation

◆ IlvRunTimeType

The data type used to store CPU time values. It actually is equivalent to IlDouble.

Function Documentation

◆ IlvRunTime()

IlvRunTime ( )

Gets the current CPU date.

Use this global function to retrieve the current CPU date in seconds. To get the CPU time consumed in a given code fragment, simply store the value returned from IlvRunTime before the code fragment is measured, then subtract the value obtained after the code has been processed from the same saved value.

Returns
The current CPU date as a floating point value in seconds.