timer Struct Reference

- Main Page
- Tutorials
- Functions
- Release Notes
- Examples

Static Public Member Functions | Data Fields
timer Struct Reference

Internal timer object. More...

`#include <timing.h>`

## Static Public Member Functions
static AFAPI timer | start ()
static AFAPI double | stop ()
static AFAPI double | stop (timer start)

## Data Fields
struct timeval | val

## Detailed Description

Internal timer object.

Examples:
  graphics/conway_pretty.cpp, graphics/gravity_sim.cpp, image_processing/brain_segmentation.cpp, image_processing/optical_flow.cpp, and pde/swe.cpp.

## Member Function Documentation

static AFAPI timer start | ( |  | ) |
| static

Examples:
  financial/black_scholes_options.cpp, financial/monte_carlo_options.cpp, graphics/conway_pretty.cpp, graphics/gravity_sim.cpp, image_processing/brain_segmentation.cpp, image_processing/optical_flow.cpp, machine_learning/bagging.cpp, machine_learning/deep_belief_net.cpp, machine_learning/knn.cpp, machine_learning/logistic_regression.cpp, machine_learning/naive_bayes.cpp, machine_learning/neural_network.cpp, machine_learning/perceptron.cpp, machine_learning/softmax_regression.cpp, and pde/swe.cpp.

static AFAPI double stop | ( |  | ) |
| static

Examples:
  financial/black_scholes_options.cpp, financial/monte_carlo_options.cpp, graphics/conway_pretty.cpp, graphics/gravity_sim.cpp, image_processing/optical_flow.cpp, machine_learning/bagging.cpp, machine_learning/deep_belief_net.cpp, machine_learning/knn.cpp, machine_learning/logistic_regression.cpp, machine_learning/naive_bayes.cpp, machine_learning/neural_network.cpp, machine_learning/perceptron.cpp, and machine_learning/softmax_regression.cpp.

static AFAPI double stop | ( | timer | start | ) |
| static

## Field Documentation

struct timeval val

The documentation for this struct was generated from the following file:

- timing.h