-
Notifications
You must be signed in to change notification settings - Fork 1
/
time.h
executable file
·25 lines (20 loc) · 685 Bytes
/
time.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/**
* This file is part of the Zephir.
*
* (c) Phalcon Team <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. If you did not receive
* a copy of the license it is available through the world-wide-web at the
* following url: https://docs.zephir-lang.com/en/latest/license
*/
#ifndef ZEPHIR_KERNEL_TIME_H
#define ZEPHIR_KERNEL_TIME_H
#include <php.h>
#include <Zend/zend.h>
#define MICRO_IN_SEC 1000000.00
void zephir_time(zval *return_value);
#ifdef HAVE_GETTIMEOFDAY
void zephir_microtime(zval *return_value, zval *get_as_float);
#endif
#endif /* ZEPHIR_KERNEL_TIME_H */