Rogue Wave Views
Foundation Package API Reference Guide
Product Documentation:

Rogue Wave 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.

© Copyright 2017, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.