Files
test2/source/blender/blenlib/BLI_time.h
Brecht Van Lommel 7a395e2e7f Revert changes from main commits that were merged into blender-v4.1-release
The last good commit was f57e4c5b98.

After this one more fix was committed, this one is preserved as well:
67bd678887.
2024-03-18 15:04:12 +01:00

38 lines
772 B
C

/* SPDX-FileCopyrightText: 2001-2002 NaN Holding BV. All rights reserved.
*
* SPDX-License-Identifier: GPL-2.0-or-later */
/** \file
* \ingroup bli
* \brief Platform independent time functions.
*/
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
extern
/** Return an indication of time, expressed as
* seconds since some fixed point. Successive calls
* are guaranteed to generate values greater than or
* equal to the last call. */
double
BLI_check_seconds_timer(void);
extern
/** `int` version of #BLI_check_seconds_timer. */
long int
BLI_check_seconds_timer_i(void);
/**
* Platform-independent sleep function.
* \param ms: Number of milliseconds to sleep
*/
void BLI_sleep_ms(int ms);
#ifdef __cplusplus
}
#endif