NVIDIA DRIVE OS Linux API Reference

5.1.0.2 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
delay.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2010-2014, NVIDIA CORPORATION. All rights reserved.
3  *
4  * NVIDIA Corporation and its licensors retain all intellectual property and
5  * proprietary rights in and to this software and related documentation. Any
6  * use, reproduction, disclosure or distribution of this software and related
7  * documentation without an express license agreement from NVIDIA Corporation
8  * is strictly prohibited.
9  */
10 
26 #ifndef INCLUDED_DELAY_H
27 #define INCLUDED_DELAY_H
28 #include <nvcommon.h>
29 
35 NvU32 NvGetTimeUS(void);
36 
42 void NvUdelay(NvU32 usec);
43 
49 void NvMdelay(NvU32 msec);
50 
52 #endif
NvU32 NvGetTimeUS(void)
This function returns the time elapsed since power on.
void NvMdelay(NvU32 msec)
This function waits till specified miliseconds have elapsed.
void NvUdelay(NvU32 usec)
This function waits till specified microseconds have elapsed.