mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-02 07:30:50 +00:00
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@604 b9cfdab3-6d41-4d17-bbe4-086880011989
32 lines
428 B
C
32 lines
428 B
C
/* $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
|