Do more. Code less. Free software for GPU computing.
<scroll to top>

timer Struct Reference

Internal timer object. More...

#include <timing.h>

List of all members.

Static Public Member Functions

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

Public Attributes

struct timeval val

Detailed Description


Member Function Documentation

static double toc ( timer  start) [static]

Return elapsed seconds since start.


Member Data Documentation

struct timeval val

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