forked from pyrite-dev/milsko
abstract
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@604 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
5a25b79546
commit
b34054e916
13 changed files with 90 additions and 47 deletions
31
include/Mw/Abstract/Time.h
Normal file
31
include/Mw/Abstract/Time.h
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
/* $Id$ */
|
||||
/*!
|
||||
* @file Mw/Abstract/Time.h
|
||||
* @brief Time
|
||||
*/
|
||||
#ifndef __MW_ABSTRACT_TIME_H__
|
||||
#define __MW_ABSTRACT_TIME_H__
|
||||
|
||||
#include <Mw/MachDep.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*!
|
||||
* @brief Sleeps for milliseconds
|
||||
* @param ms Milliseconds
|
||||
*/
|
||||
MWDECL void MwTimeSleep(int ms);
|
||||
|
||||
/*!
|
||||
* @brief Gets a monotonic time
|
||||
* @return Monotonic time
|
||||
*/
|
||||
MWDECL long MwTimeGetTick(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue