1#ifndef DEFINE_FUNC_ATTRIBUTES
2# define DEFINE_FUNC_ATTRIBUTES
3#endif
4#include "nvim/func_attr.h"
5#undef DEFINE_FUNC_ATTRIBUTES
6proftime_T profile_start(void) FUNC_ATTR_WARN_UNUSED_RESULT;
7proftime_T profile_end(proftime_T tm) FUNC_ATTR_WARN_UNUSED_RESULT;
8const char *profile_msg(proftime_T tm) FUNC_ATTR_WARN_UNUSED_RESULT;
9proftime_T profile_setlimit(int64_t msec) FUNC_ATTR_WARN_UNUSED_RESULT;
10_Bool profile_passed_limit(proftime_T tm) FUNC_ATTR_WARN_UNUSED_RESULT;
11proftime_T profile_zero(void) FUNC_ATTR_CONST;
12proftime_T profile_divide(proftime_T tm, int count) FUNC_ATTR_CONST;
13proftime_T profile_add(proftime_T tm1, proftime_T tm2) FUNC_ATTR_CONST;
14proftime_T profile_sub(proftime_T tm1, proftime_T tm2) FUNC_ATTR_CONST;
15proftime_T profile_self(proftime_T self, proftime_T total, proftime_T children) FUNC_ATTR_CONST;
16proftime_T profile_get_wait(void) FUNC_ATTR_PURE;
17void profile_set_wait(proftime_T wait);
18proftime_T profile_sub_wait(proftime_T tm, proftime_T tma) FUNC_ATTR_PURE;
19_Bool profile_equal(proftime_T tm1, proftime_T tm2) FUNC_ATTR_CONST;
20int64_t profile_signed(proftime_T tm) FUNC_ATTR_CONST;
21int profile_cmp(proftime_T tm1, proftime_T tm2) FUNC_ATTR_CONST;
22void time_push(proftime_T *rel, proftime_T *start);
23void time_pop(proftime_T tp);
24void time_start(const char *message);
25void time_msg(const char *mesg, const proftime_T *start);
26#include "nvim/func_attr.h"
27