hide long namesshow long names
hide short namesshow short names
Integer type:  int32  int64  nag_int  show int32  show int32  show int64  show int64  show nag_int  show nag_int

PDF version (NAG web site, 64-bit version, 64-bit version)
Chapter Contents
Chapter Introduction
NAG Toolbox

NAG Toolbox Chapter Introduction

X05 — Date and Time Utilities

Scope of the Chapter

This chapter provides functions to obtain the current real time, and the amount of processor time used.

Background to the Problems

Real Time

Routines are provided to obtain the current time in two different formats, and to compare two such times.

Processor Time

A function is provided to return the current amount of processor time used. This allows the timing of a particular function or section of code.

Recommendations on Choice and Use of Available Functions

nag_time_date_array (x05aa)returns the current date/time in integer format.
nag_time_date_array_string (x05ab)converts from integer to character string date/time.
nag_time_date_string_compare (x05ac)compares two date/time character strings.
nag_time_cpu (x05ba)returns the amount of processor time used.

PDF version (NAG web site, 64-bit version, 64-bit version)
Chapter Contents
Chapter Introduction
NAG Toolbox

© The Numerical Algorithms Group Ltd, Oxford, UK. 2009–2013