DO MORE. CODE LESS. Free software for GPU computing on AMD, Intel, and NVIDIA.
Static Public Member Functions | Public Attributes
af::timer Struct Reference

#include <arrayfire.h>

List of all members.

Static Public Member Functions

static timer start ()
 Start a timer.
static double stop ()
 Return elapsed seconds since last start()
static double stop (timer start)
 Return elapsed seconds since start.

Public Attributes

struct timeval val

Detailed Description

Internal timer object


Member Function Documentation

static timer af::timer::start ( ) [static]

Start a timer.

Examples:
examples/blackscholes.cpp.
static double af::timer::stop ( ) [static]

Return elapsed seconds since last start()

Examples:
examples/blackscholes.cpp.
static double af::timer::stop ( timer  start) [static]

Return elapsed seconds since start.


Member Data Documentation

struct timeval af::timer::val

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines