accelerInt  v0.1
Macros | Functions | Variables
timer.h File Reference

Timer interface for Linux. More...

#include <stdlib.h>
#include <time.h>
#include <sys/time.h>
Include dependency graph for timer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define __USE_BSD
 

Functions

void StartTimer ()
 
double GetTimer ()
 

Variables

struct timeval timerStart
 

Detailed Description

Timer interface for Linux.

Copyright 2012 NVIDIA Corporation

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file timer.h.

Macro Definition Documentation

◆ __USE_BSD

#define __USE_BSD

Definition at line 30 of file timer.h.

Function Documentation

◆ GetTimer()

double GetTimer ( )

Definition at line 60 of file timer.h.

◆ StartTimer()

void StartTimer ( )

Definition at line 43 of file timer.h.

Variable Documentation

◆ timerStart

struct timeval timerStart

Definition at line 40 of file timer.h.