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